diff options
author | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-07-26 16:36:52 (GMT) |
---|---|---|
committer | clifford <clifford@b57f626f-c46c-0410-a088-ec61d464b74c> | 2009-07-26 16:36:52 (GMT) |
commit | b7cb05dbbd8d9d249c21178bc0adc747c2f5fc17 (patch) | |
tree | 5d28fba3da2be0e7136b1db727c413bb2224056e | |
parent | 13cb8763e2243246c33a4e7b780868e63cea3223 (diff) |
Clifford Wolf:
Only use gcc __attribute__ syntax when actually building with gcc
git-svn-id: http://svn.clifford.at/openscad/trunk@82 b57f626f-c46c-0410-a088-ec61d464b74c
-rw-r--r-- | lexer.l | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -24,7 +24,9 @@ #include "parser_yacc.h" int lexerget_lineno(void); +#ifdef __GNUC__ static void yyunput(int, char*) __attribute__((unused)); +#endif extern const char *parser_input_buffer; #define YY_INPUT(buf,result,max_size) { \ |