projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9cdd8fa
)
preliminary Win32 support added
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Fri, 16 Nov 2007 23:25:29 +0000
(23:25 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Fri, 16 Nov 2007 23:25:29 +0000
(23:25 +0000)
[r18432]
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index
7beaea6
..
d0cfcf9
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-25,6
+25,12
@@
#define PREPROCESSOR "cpp"
#define LINKER "gcc"
+#ifdef _WIN32
+/* remap some names */
+#define popen(cmd, mode) _popen(cmd, mode)
+#define pclose(file) _pclose(file)
+#endif /* _WIN32 */
+
static int verbose;
static const ir_settings_if_conv_t *if_conv_info = NULL;