windows stuff

This commit is contained in:
Vitor Santos Costa
2013-01-19 11:47:14 +00:00
parent 0e262df2ee
commit 05f9a935e1
5 changed files with 406 additions and 394 deletions

6
os/pl-stream.c Normal file → Executable file
View File

@@ -21,13 +21,17 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#ifdef __WINDOWS__
#if defined(__WINDOWS__)|| defined(__WIN32)
#include "windows/uxnt.h"
#ifdef _YAP_NOT_INSTALLED_
#include <config.h>
#else
#ifdef WIN64
#include "config/win64.h"
#else
#include "config/win32.h"
#endif
#endif
#include <winsock2.h>
#include "windows/mswchar.h"
#define CRLF_MAPPING 1