@ -22,8 +22,9 @@
#include <vector>
#ifdef NL_OS_WINDOWS
# define NOMINMAX
# include <windows.h>
struct HINSTANCE__;
typedef struct HINSTANCE__ *HINSTANCE;
typedef HINSTANCE HMODULE; /* HMODULEs can be used in place of HINSTANCEs */
#else
# include <dlfcn.h>
#endif
@ -42,6 +42,20 @@ namespace NLMISC
class CWindowDisplayer;
}
#if defined(NL_OS_WINDOWS) && defined(_WINDOWS)
#ifndef WINAPI
#define WINAPI __stdcall
#ifndef APIENTRY
#define APIENTRY WINAPI
typedef char CHAR;
typedef CHAR *LPSTR;
namespace NLNET
{
@ -55,6 +55,7 @@
#define NOMINMAX
#include <WinSock2.h>
#include <windows.h>
@ -22,6 +22,10 @@
#include "source_fmod.h"
#include "buffer_fmod.h"
#include <Windows.h>
using namespace std;
using namespace NLMISC;
@ -34,6 +34,8 @@ using namespace std;
#ifdef _MSC_VER
/** A special stream buffer that output in the 'output debug string' feature of windows.
*/
class CDebugOutput : public streambuf