mirror of
https://foundry.openuru.org/gitblit/r/CWE-ou-minkata.git
synced 2025-07-17 10:52:46 +00:00
Remove global Windows.h include
This is the beginning of efforts to reduce the scope of Windows.h. I have shuttled it into hsWindows.h (again) and fixed the compilation of the major apps. There is still some scope work that needs to be done, and the Max plugin has not yet been addressed.
This commit is contained in:
@ -42,10 +42,11 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#ifndef plBrowseFolder_h_inc
|
||||
#define plBrowseFolder_h_inc
|
||||
|
||||
#include "HeadSpin.h"
|
||||
|
||||
#ifdef HS_BUILD_FOR_WIN32
|
||||
|
||||
#include "HeadSpin.h"
|
||||
#include "hsWindows.h"
|
||||
|
||||
//
|
||||
// Gets a directory using the "Browse for Folder" dialog.
|
||||
//
|
||||
|
@ -40,6 +40,7 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
|
||||
*==LICENSE==*/
|
||||
#include "plSecureStream.h"
|
||||
#include "hsWindows.h"
|
||||
|
||||
#include "plFileUtils.h"
|
||||
#include "hsSTLStream.h"
|
||||
|
@ -46,9 +46,10 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
|
||||
#include "hsStream.h"
|
||||
|
||||
#if HS_BUILD_FOR_WIN32
|
||||
# define hsFD HANDLE
|
||||
typedef void* HANDLE;
|
||||
# define hsFD HANDLE
|
||||
#else
|
||||
# define hsFD FILE*
|
||||
# define hsFD FILE*
|
||||
#endif
|
||||
|
||||
// A slightly more secure stream then plEncryptedStream in that it uses windows file functions
|
||||
|
Reference in New Issue
Block a user