diff options
author | Steven Noonan <steven@uplinklabs.net> | 2009-10-12 08:03:13 -0700 |
---|---|---|
committer | Steven Noonan <steven@uplinklabs.net> | 2009-10-12 08:03:13 -0700 |
commit | e902c1dbf887d58cd370a86bc676c5297cfffad5 (patch) | |
tree | e292c5ad001296d59fc412adcef9710805836ccf /crawl-ref/source/tilereg.cc | |
parent | 94c8330d25fcece0e2811f82edea8258c0869b8e (diff) | |
download | crawl-ref-e902c1dbf887d58cd370a86bc676c5297cfffad5.tar.gz crawl-ref-e902c1dbf887d58cd370a86bc676c5297cfffad5.zip |
MSVC: add tiles build support
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
Diffstat (limited to 'crawl-ref/source/tilereg.cc')
-rw-r--r-- | crawl-ref/source/tilereg.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crawl-ref/source/tilereg.cc b/crawl-ref/source/tilereg.cc index 447c7af8e2..819b96ae5b 100644 --- a/crawl-ref/source/tilereg.cc +++ b/crawl-ref/source/tilereg.cc @@ -48,6 +48,14 @@ REVISION("$Rev$"); #include <sys/stat.h> #include <SDL_opengl.h> +/* These aren't defined on Win32 */ +#ifndef S_IWUSR +#define S_IWUSR (unsigned int)-1 +#endif +#ifndef S_IRUSR +#define S_IRUSR (unsigned int)-1 +#endif + coord_def Region::NO_CURSOR(-1, -1); int TextRegion::print_x; |