Browse Source

Fixes some oversights.

Okay, what moron left out the include guards on hsSTLStream.h? Come on,
man.
Adam Johnson 12 years ago
parent
commit
72000fd0c1
  1. 6
      Sources/Plasma/CoreLib/hsSTLStream.h
  2. 8
      Sources/Plasma/NucleusLib/pnUtils/pnUtStr.h

6
Sources/Plasma/CoreLib/hsSTLStream.h

@ -39,6 +39,10 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
Mead, WA 99021 Mead, WA 99021
*==LICENSE==*/ *==LICENSE==*/
#ifndef _hsSTLStream_h_inc_
#define _hsSTLStream_h_inc_
#include "hsStream.h" #include "hsStream.h"
#include "hsStlUtils.h" #include "hsStlUtils.h"
@ -82,3 +86,5 @@ public:
// In case you want to try and be efficient with your memory allocations // In case you want to try and be efficient with your memory allocations
void Reserve(uint32_t bytes) { fVector.reserve(bytes); } void Reserve(uint32_t bytes) { fVector.reserve(bytes); }
}; };
#endif // _hsSTLStream_h_inc_

8
Sources/Plasma/NucleusLib/pnUtils/pnUtStr.h

@ -52,6 +52,14 @@ You can contact Cyan Worlds, Inc. by email legal@cyan.com
#include "pnUtArray.h" #include "pnUtArray.h"
#include <wchar.h> #include <wchar.h>
// Got Damn eap...
// Duplicate Symbols in shlwapi!
#ifdef _INC_SHLWAPI
# undef StrChr
# undef StrDup
# undef StrStr
#endif // _INC_SHLWAPI
/***************************************************************************** /*****************************************************************************
* *
* String functions * String functions

Loading…
Cancel
Save