Used the wrong #define to derive ARCH_HAS_LONGLONG. Use the right one.

llvm-svn: 166994
diff --git a/tools/TargetConfig.mk.in b/tools/TargetConfig.mk.in
index f05686d..696c39a 100644
--- a/tools/TargetConfig.mk.in
+++ b/tools/TargetConfig.mk.in
@@ -5,7 +5,6 @@
 
 #ifdef __LP64__
 ARCH_LP64 := YES
-ARCH_HAS_LONGLONG := YES
 #endif
 
 #ifdef __LITTLE_ENDIAN__
@@ -13,3 +12,7 @@
 #else
 ENDIAN := big
 #endif
+
+#ifdef __LONG_LONG_MAX__
+ARCH_HAS_LONGLONG := YES
+#endif
\ No newline at end of file