summaryrefslogtreecommitdiff
path: root/src/common/compat.h
diff options
context:
space:
mode:
authorcypherpunks <cypherpunks@torproject.org>2015-12-10 16:26:04 +0100
committerNick Mathewson <nickm@torproject.org>2015-12-15 11:34:00 -0500
commite91ccbb4f6e7330aa7097f31dcf07cbfda87b75b (patch)
tree339841a2725c7e1654cffaa5cb50d941322d3129 /src/common/compat.h
parent824a6a2a90ff92edd70b60d4f1a8d5ecacc263a0 (diff)
downloadtor-e91ccbb4f6e7330aa7097f31dcf07cbfda87b75b.tar.gz
tor-e91ccbb4f6e7330aa7097f31dcf07cbfda87b75b.zip
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.
Diffstat (limited to 'src/common/compat.h')
-rw-r--r--src/common/compat.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/common/compat.h b/src/common/compat.h
index edc41eb374..fb177832af 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. */