Forráskód Böngészése

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 éve
szülő
commit
e91ccbb4f6
1 módosított fájl, 1 hozzáadás és 3 törlés
  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. */