Permalink
Browse files

compiler/libec: Fixed precompiled grammar for Linux builds

  • Loading branch information...
1 parent 63e78e8 commit aceacf7e1a9a322df42ec2e3e10d93f48afe5420 @jerstlouis jerstlouis committed Sep 17, 2012
Showing with 5 additions and 1 deletion.
  1. +5 −1 compiler/libec/precompiled/grammar.c
@@ -2733,7 +2733,11 @@ extern struct Statement * MkExpressionStmt(struct __ecereNameSpace__ecere__sys__
extern void Compiler_Error(char * format, ...);
-extern __declspec(dllexport) char * __ecereNameSpace__ecere__GetTranslatedString(struct __ecereNameSpace__ecere__com__Instance * module, char * string, char * stringAndContext);
+extern
+#if defined(__WIN32__)
+__declspec(dllexport)
+#endif
+char * __ecereNameSpace__ecere__GetTranslatedString(struct __ecereNameSpace__ecere__com__Instance * module, char * string, char * stringAndContext);
extern struct __ecereNameSpace__ecere__com__Instance * __thisModule;

0 comments on commit aceacf7

Please sign in to comment.