forked from 0ad/0ad
janwas
4be0fe18a0
. major compat fixes for interoperation with wxw. . add crashlog_sender (modified version of debgrpt wxw sample). compiles but untested, will be changed heavily further improvements: . wposix no longer declares CRT functions. instead, use CRT headers.. but don't allow their (incorrect/non-POSIX) declarations to propagate to users. . split up win.cpp into wstartup, wutil, winit . extern "C" -> EXTERN_C . move sdl.* to lib/external_libraries and add png.h+zlib.h (fixes for and include of the library) This was SVN commit r5028.
13 lines
357 B
C
13 lines
357 B
C
// despite the comment in wposix.h about not using Windows headers for
|
|
// POSIX declarations, this one is harmless (no incompatible declarations)
|
|
// and can safely be used on Windows as well.
|
|
#include <fcntl.h>
|
|
|
|
#if OS_WIN
|
|
# include "lib/sysdep/win/wposix/waio.h"
|
|
#else
|
|
# include <aio.h>
|
|
#endif
|
|
|
|
#include "posix_errno.h" // for user convenience
|