Преглед изворни кода

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.
cypherpunks пре 8 година
родитељ
комит
e91ccbb4f6
1 измењених фајлова са 1 додато и 3 уклоњено
  1. 1 3
      src/common/compat.h

+ 1 - 3
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. */