Fix literal MACRO gcc compliant.
authorManuele Conti <conti.ma@alice.it>
Wed, 13 Jun 2012 19:51:26 +0200
changeset 593 412780374bd3
parent 592 99a284cec1f2
child 594 c8092e909886
Fix literal MACRO gcc compliant.
lib/iec_std_lib.h
--- a/lib/iec_std_lib.h	Wed Jun 13 19:43:12 2012 +0100
+++ b/lib/iec_std_lib.h	Wed Jun 13 19:51:26 2012 +0200
@@ -83,7 +83,7 @@
 
 #define __lit(type,value,...) (type)value##__VA_ARGS__
 // Keep this macro expention step to let sfx(__VA_ARGS__) change into L or LL
-#define __literal(type,value,...) __lit(type,value,##__VA_ARGS__##)
+#define __literal(type,value,...) __lit(type,value,##__VA_ARGS__)
 
 #define __BOOL_LITERAL(value) __literal(BOOL,value)
 #define __SINT_LITERAL(value) __literal(SINT,value)