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

nickm at torproject.org nickm at torproject.org
Tue Dec 15 16:55:55 UTC 2015


commit e91ccbb4f6e7330aa7097f31dcf07cbfda87b75b
Author: cypherpunks <cypherpunks at torproject.org>
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. */





More information about the tor-commits mailing list