freebsd-ports/games/opencity/files/extra-patch-src-macros.h
Dmitry Marakasov 3c5dc619da - Fix build on -CURRENT
Reported by:	Sergey V. Dyatko <sergey dot dyatko at gmail dot com>
2010-12-30 22:11:59 +00:00

16 lines
392 B
C

--- src/macros.h.orig 2008-10-28 21:23:51.000000000 +0300
+++ src/macros.h 2008-11-05 03:52:54.000000000 +0300
@@ -87,12 +87,10 @@
#define strcasecmp _stricmp
#endif
- /* C99 standard has this
+ #endif // #if defined(__WIN32__)
// log2 workaround
#if !defined(log2)
#define log2(value) log((double)value)/log(2.0)
#endif
- */
- #endif // #if defined(__WIN32__)
#endif