source: nscp/include/types.hpp @ 1e0bbec

0.4.00.4.10.4.2
Last change on this file since 1e0bbec was 1e0bbec, checked in by Michael Medin <michael@…>, 4 years ago

Semi-working NRPEClient (debian boost is broken so need to recompile it myself before I can finish it off) But "should almost work" (from CLI)

  • Property mode set to 100644
File size: 405 bytes
Line 
1#pragma once
2
3typedef wchar_t TCHAR;
4
5
6#ifndef WIN32
7typedef unsigned long DWORD;
8typedef void* LPVOID;
9typedef int BOOL;
10#endif
11#ifdef WIN32
12typedef short int16_t;
13typedef unsigned long u_int32_t;
14#endif
15
16
17#ifdef WIN32
18#include <windows.h>
19#define wcscasecmp _wcsicmp
20#endif
21
22#ifndef WIN32
23#ifndef __FILEW__
24#define WSTR(x) _T(x)
25#define __FILEW__ WSTR(__FILE__)
26#endif
27#endif
Note: See TracBrowser for help on using the repository browser.