Commit 26eab283 authored by Jerry Clarke's avatar Jerry Clarke
Browse files

Hopefully fixed to find 64 bit streams correctly

parent 35001cdf
......@@ -6,7 +6,7 @@
#
MACRO(CHECK_FOR_64BIT_STREAMS VARIABLE)
IF("${VARIABLE}" MATCHES "^${VARIABLE}$")
IF("HAVE_${VARIABLE}" MATCHES "^HAVE_${VARIABLE}$")
SET(MACRO_CHECK_FOR_64BIT_STREAMS_FLAGS ${CMAKE_REQUIRED_FLAGS})
IF(CMAKE_NO_ANSI_STREAM_HEADERS)
SET(MACRO_CHECK_FOR_64BIT_STREAMS_FLAGS
......@@ -38,5 +38,5 @@ MACRO(CHECK_FOR_64BIT_STREAMS VARIABLE)
"failed with the following output:\n"
"${OUTPUT}\n" APPEND)
ENDIF(${VARIABLE})
ENDIF("${VARIABLE}" MATCHES "^${VARIABLE}$")
ENDIF("HAVE_${VARIABLE}" MATCHES "^HAVE_${VARIABLE}$")
ENDMACRO(CHECK_FOR_64BIT_STREAMS)
......@@ -2,6 +2,7 @@
# include <iostream.h>
#else
# include <iostream>
using std::cin;
#endif
#if defined(SIZEOF_LONG_LONG)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment