Skip to content
Browse files

Replace the determination of LONG_LONG_MAX with a GNUC internal macro

  • Loading branch information...
1 parent 9501b58 commit b31444bb4f5d5fe9a7f3882ce479e6a3ed810a3e Markus Hardt committed
Showing with 10 additions and 1 deletion.
  1. +9 −0 .gitignore
  2. +1 −1 Foundation/NSScanner.h
View
9 .gitignore
@@ -0,0 +1,9 @@
+*.o
+*.lo
+.deps
+.libs
+Makefile
+config.log
+config.status
+libNuFound.la
+libtool
View
2 Foundation/NSScanner.h
@@ -31,7 +31,7 @@
#include <Foundation/NSObject.h>
#ifndef LONG_LONG_MAX
-# define LONG_LONG_MAX (((unsigned long long)-1) >> 1)
+# define LONG_LONG_MAX (__LONG_LONG_MAX__)
#endif
#ifndef LONG_LONG_MIN

0 comments on commit b31444b

Please sign in to comment.
Something went wrong with that request. Please try again.