diff options
| author | Mike Pall <mike> | 2010-09-12 01:33:32 +0200 |
|---|---|---|
| committer | Mike Pall <mike> | 2010-09-12 01:33:32 +0200 |
| commit | b72ae54dc0d2bf63f23f0b9a47238ea96b0239ed (patch) | |
| tree | e80c475fc46f2e8ae2796bbad51f93494db03b4f /src | |
| parent | 90f22760afc2d84de4854e61893feb15668e5ac5 (diff) | |
| download | luajit-b72ae54dc0d2bf63f23f0b9a47238ea96b0239ed.tar.gz luajit-b72ae54dc0d2bf63f23f0b9a47238ea96b0239ed.tar.bz2 luajit-b72ae54dc0d2bf63f23f0b9a47238ea96b0239ed.zip | |
Fix broken MSVC build.
Diffstat (limited to 'src')
| -rw-r--r-- | src/buildvm.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/buildvm.c b/src/buildvm.c index c2011070..382550b8 100644 --- a/src/buildvm.c +++ b/src/buildvm.c | |||
| @@ -14,11 +14,6 @@ | |||
| 14 | ** It's a one-shot tool -- any effort fixing this would be wasted. | 14 | ** It's a one-shot tool -- any effort fixing this would be wasted. |
| 15 | */ | 15 | */ |
| 16 | 16 | ||
| 17 | #ifdef LUA_USE_WIN | ||
| 18 | #include <fcntl.h> | ||
| 19 | #include <io.h> | ||
| 20 | #endif | ||
| 21 | |||
| 22 | #include "buildvm.h" | 17 | #include "buildvm.h" |
| 23 | #include "lj_obj.h" | 18 | #include "lj_obj.h" |
| 24 | #include "lj_gc.h" | 19 | #include "lj_gc.h" |
| @@ -28,6 +23,11 @@ | |||
| 28 | #include "lj_dispatch.h" | 23 | #include "lj_dispatch.h" |
| 29 | #include "luajit.h" | 24 | #include "luajit.h" |
| 30 | 25 | ||
| 26 | #ifdef LUA_USE_WIN | ||
| 27 | #include <fcntl.h> | ||
| 28 | #include <io.h> | ||
| 29 | #endif | ||
| 30 | |||
| 31 | /* ------------------------------------------------------------------------ */ | 31 | /* ------------------------------------------------------------------------ */ |
| 32 | 32 | ||
| 33 | /* DynASM glue definitions. */ | 33 | /* DynASM glue definitions. */ |
