소스 검색

linux compilation fix

Nicolas Cannasse 8 년 전
부모
커밋
ef6bbc7fbe
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  1. 3 3
      src/std/buffer.c

+ 3 - 3
src/std/buffer.c

@@ -21,10 +21,10 @@
  */
 #include <hl.h>
 
-#ifdef HL_VCC
-#	define PR_I64 L"%lld"
+#ifdef PRId64
+#	define PR_I64 USTR("%" PRId64)
 #else
-#	define PR_I64 u"%" PRId64
+#	define PR_I64 USTR("%lld")
 #endif
 
 typedef struct _stringitem {