]> granicus.if.org Git - php/commitdiff
- a macro will just do it too
authorPierre Joye <pajoye@php.net>
Mon, 4 May 2009 20:32:33 +0000 (20:32 +0000)
committerPierre Joye <pajoye@php.net>
Mon, 4 May 2009 20:32:33 +0000 (20:32 +0000)
win32/php_stdint.h

index ea43c64627cfc46fad8e821647d611ef37064833..ed53e75355e366d59cfc96c2a115cbb83dc3c642 100644 (file)
@@ -264,7 +264,7 @@ typedef uint64_t  uintmax_t;
 #define INTMAX_C   INT64_C
 #define UINTMAX_C  UINT64_C
 
-static inline int64_t llabs( int64_t i ) { return i >= 0? i: -i; }
+#define llabs(i) (i >= 0? i : -i)
 
 #endif // __STDC_CONSTANT_MACROS ]