Commits

Satish Balay  committed 245ce5b

tree 86958722a6ad
parent 68f86ff9dcfa
author Satish Balay <balay@mcs.anl.gov> 1317743831 18000
committer Satish Balay <balay@mcs.anl.gov> 1317743831 18000
revision 2735
branch default

check for __int64 on windows [as alternative for 'long long']

Hg-commit: 4d7b6efe1278d39d2a0320ee7ff4d6771e8a2dc2

  • Participants
  • Parent commits c1fbad3

Comments (0)

Files changed (1)

File config/types.py

       self.framework.log.write(typeName+' found\n')
     return found
 
+  def check__int64(self):
+    '''Checks if __int64 exists. This is primarily for windows.'''
+    if self.check('__int64'):
+      self.addDefine('HAVE___INT64',1)
+    return
+
   def checkSizeTypes(self):
     '''Checks for types associated with sizes, such as size_t.'''
     self.check('size_t', 'int')
     return
 
   def configure(self):
+    self.executeTest(self.check__int64)
     self.executeTest(self.checkSizeTypes)
     self.executeTest(self.checkFileTypes)
     self.executeTest(self.checkIntegerTypes)