[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Remove obsolete INLINE preprocessor definition



commit e91ccbb4f6e7330aa7097f31dcf07cbfda87b75b
Author: cypherpunks <cypherpunks@xxxxxxxxxxxxxx>
Date:   Thu Dec 10 16:26:04 2015 +0100

    Remove obsolete INLINE preprocessor definition
    
    The INLINE keyword is not used anymore in favor of inline.
    
    Windows only supports __inline so an inline preprocessor definition is
    still needed.
---
 src/common/compat.h |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/common/compat.h b/src/common/compat.h
index edc41eb..fb17783 100644
--- a/src/common/compat.h
+++ b/src/common/compat.h
@@ -75,9 +75,7 @@
 
 /* inline is __inline on windows. */
 #ifdef _WIN32
-#define INLINE __inline
-#else
-#define INLINE inline
+#define inline __inline
 #endif
 
 /* Try to get a reasonable __func__ substitute in place. */



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits