Commits

Jacob Moen  committed 412fedb

File_OFFSET_BITS now set to 64 for 32bit platforms

  • Participants
  • Parent commits 268b3d3

Comments (0)

Files changed (1)

File CMakeLists.txt

   endif(OGITOR_PLATFORM_X64 AND NOT APPLE)
 endif(UNIX)
 
+if(NOT OGITOR_PLATFORM_X64)
+    add_definitions(-D_FILE_OFFSET_BITS=64)
+endif(NOT OGITOR_PLATFORM_X64)
+
 include_directories(${OGRE_INCLUDE_DIRS})
 include_directories(${OGRE_Terrain_INCLUDE_DIR})
 include_directories(${OGRE_Paging_INCLUDE_DIR})