diff options
| author | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-03-10 11:06:37 +0000 |
|---|---|---|
| committer | Magnus Auvinen <magnus.auvinen@gmail.com> | 2008-03-10 11:06:37 +0000 |
| commit | f685b413d219d367fb1da39119e50056c5c42ce7 (patch) | |
| tree | b6eff31e5d8277707d94a753a5571c10d3009421 | |
| parent | 5400809a9dccf9334967e1c06b6037c30deb2e57 (diff) | |
| download | zcatch-f685b413d219d367fb1da39119e50056c5c42ce7.tar.gz zcatch-f685b413d219d367fb1da39119e50056c5c42ce7.zip | |
fixed compile errors
| -rw-r--r-- | scripts/netobj.py | 2 | ||||
| -rw-r--r-- | src/game/g_protocol.def | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/scripts/netobj.py b/scripts/netobj.py index 03228e34..1a2de727 100644 --- a/scripts/netobj.py +++ b/scripts/netobj.py @@ -195,7 +195,7 @@ def emit_header_file(f, p): def emit_source_file(f, p, protofilename): - print >>f, "#line 1 \"%s\"" % os.path.abspath(protofilename) + print >>f, "#line 1 \"%s\"" % os.path.abspath(protofilename).replace("\\", "\\\\") for l in p.source_raw: print >>f, l diff --git a/src/game/g_protocol.def b/src/game/g_protocol.def index a8aaa623..49acba24 100644 --- a/src/game/g_protocol.def +++ b/src/game/g_protocol.def @@ -1,7 +1,9 @@ raw_source #include "g_protocol.h" - #include "g_protocol_ids.h" + extern "C" { + #include "g_protocol_ids.h" + } #include <engine/e_common_interface.h> #define max_int 2147483647 end |