浏览代码

added 64 bits detection with __LP64__ (osx/ios)

ncannasse 8 年之前
父节点
当前提交
37899d388a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/hl.h

+ 1 - 1
src/hl.h

@@ -45,7 +45,7 @@
 #	define HL_BSD
 #endif
 
-#if defined(_64BITS) || defined(__x86_64__) || defined(_M_X64)
+#if defined(_64BITS) || defined(__x86_64__) || defined(_M_X64) || defined(__LP64__)
 #	define HL_64
 #endif