diff options
Diffstat (limited to 'apps/plugins/doom/rockmacros.h')
-rw-r--r-- | apps/plugins/doom/rockmacros.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/doom/rockmacros.h b/apps/plugins/doom/rockmacros.h index 98f908dc1d..e066fe861c 100644 --- a/apps/plugins/doom/rockmacros.h +++ b/apps/plugins/doom/rockmacros.h | |||
@@ -39,12 +39,12 @@ char *my_strtok( char * s, const char * delim ); | |||
39 | #define read_line(a,b,c) rb->read_line((a),(b),(c)) | 39 | #define read_line(a,b,c) rb->read_line((a),(b),(c)) |
40 | 40 | ||
41 | #ifdef SIMULATOR | 41 | #ifdef SIMULATOR |
42 | #define open(a,b) rb->open((a),(b)) | 42 | #define open(a, ...) rb->open((a), __VA_ARGS__) |
43 | #define close(a) rb->close((a)) | 43 | #define close(a) rb->close((a)) |
44 | #else | 44 | #else |
45 | int my_open(const char *file, int flags); | 45 | int my_open(const char *file, int flags, ...); |
46 | int my_close(int id); | 46 | int my_close(int id); |
47 | #define open(a,b) my_open((a),(b)) | 47 | #define open(a, ...) my_open((a), __VA_ARGS__) |
48 | #define close(a) my_close((a)) | 48 | #define close(a) my_close((a)) |
49 | #endif | 49 | #endif |
50 | 50 | ||