Adapt to move of prewin.h and postwin.h

This commit is contained in:
Tor Lillqvist 2011-02-08 13:11:04 +02:00
parent bc0cbfc119
commit 175f1c5a24
9 changed files with 18 additions and 18 deletions

View file

@ -99,13 +99,13 @@ const sal_Char pBuffer_Blank[] = "";
# define PATH_SEPERATOR "/"
#endif
#if (defined WNT ) // Windows
#include <tools/prewin.h>
#include <prewin.h>
// # include <windows.h>
# include <tchar.h>
# include <io.h>
# include <stdio.h>
# include <stdlib.h>
#include <tools/postwin.h>
#include <postwin.h>
# define PATH_MAX MAX_PATH
# define TEST_PLATFORM "c:/"
# define TEST_PLATFORM_ROOT "c:/"

View file

@ -43,10 +43,10 @@
# include <unistd.h>
#endif
#if ( defined WNT ) // Windows
#include <tools/prewin.h>
#include <prewin.h>
// # include <windows.h>
# include <io.h>
#include <tools/postwin.h>
#include <postwin.h>
#endif
# define FILE_PREFIX "file:///"

View file

@ -43,11 +43,11 @@
#include <sal/macros.h>
#if ( defined WNT ) // Windows
#include <tools/prewin.h>
#include <prewin.h>
# define WIN32_LEAN_AND_MEAN
// # include <windows.h>
# include <tchar.h>
#include <tools/postwin.h>
#include <postwin.h>
#endif
#include "rtl/allocator.hxx"

View file

@ -33,13 +33,13 @@
// includes
#if ( defined WNT ) // Windows
#include <tools/prewin.h>
#include <prewin.h>
# define UNICODE
# define _UNICODE
# define WIN32_LEAN_AND_MEAN
// # include <windows.h>
# include <tchar.h>
#include <tools/postwin.h>
#include <postwin.h>
#else
# include <unistd.h>
#endif

View file

@ -30,9 +30,9 @@
#define _OSL_SECURITY_CONST_H_
#if ( defined WNT ) // Windows
#include <tools/prewin.h>
#include <prewin.h>
#include <io.h>
#include <tools/postwin.h>
#include <postwin.h>
#endif
#include <sal/types.h>

View file

@ -81,11 +81,11 @@ extern "C"
# include <arpa/inet.h>
#endif
#if ( defined WNT ) // Windows
#include <tools/prewin.h>
#include <prewin.h>
// # include <windows.h>
# include <winsock.h>
# include <string.h>
#include <tools/postwin.h>
#include <postwin.h>
#endif

View file

@ -81,11 +81,11 @@ extern "C"
# include <arpa/inet.h>
#endif
#if ( defined WNT ) // Windows
#include <tools/prewin.h>
#include <prewin.h>
// # include <windows.h>
# include <winsock.h>
# include <string.h>
#include <tools/postwin.h>
#include <postwin.h>
#endif

View file

@ -74,10 +74,10 @@ extern "C"
#ifndef _OSL_SOCKET_CONST_H_
#if ( defined WNT ) // Windows
#include <tools/prewin.h>
#include <prewin.h>
#include <winsock.h>
#include <string.h>
#include <tools/postwin.h>
#include <postwin.h>
#endif
#endif

View file

@ -46,9 +46,9 @@
#include <osl/file.hxx>
#if ( defined WNT ) // Windows
#include <tools/prewin.h>
#include <prewin.h>
#include <tchar.h>
#include <tools/postwin.h>
#include <postwin.h>
#endif
using namespace ::osl;