projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Stop VC++ from warning "'getenv' : inconsistent dll linkage.
[p5sagit/p5-mst-13.2.git]
/
x2p
/
a2p.c
diff --git
a/x2p/a2p.c
b/x2p/a2p.c
index
9d1d172
..
20e3227
100644
(file)
--- a/
x2p/a2p.c
+++ b/
x2p/a2p.c
@@
-2181,7
+2181,11
@@
int yyparse (void);
#define YYERROR goto yyerrlab
#if YYDEBUG
+# if defined(WIN32) && !defined(__BORLANDC__)
+EXTERN_C _CRTIMP char *getenv(const char *);
+# else
EXTERN_C char *getenv(const char *);
+# endif
#endif
int