Browse Source

linux compilation fix

Nicolas Cannasse 8 years ago
parent
commit
ef6bbc7fbe
1 changed files with 3 additions and 3 deletions
  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 {