23 |
|
|
24 |
#include <getopt.h> |
#include <getopt.h> |
25 |
#include <signal.h> |
#include <signal.h> |
26 |
|
#include <sys/stat.h> |
27 |
|
|
28 |
#if defined(WIN32) |
#if defined(WIN32) |
29 |
// require at least Windows 2000 for the GlobalMemoryStatusEx() call |
// require at least Windows 2000 for the GlobalMemoryStatusEx() call |
30 |
|
#if _WIN32_WINNT < 0x0500 |
31 |
|
#ifdef _WIN32_WINNT |
32 |
|
#undef _WIN32_WINNT |
33 |
|
#endif |
34 |
#define _WIN32_WINNT 0x0500 |
#define _WIN32_WINNT 0x0500 |
35 |
#endif |
#endif |
36 |
|
#endif |
37 |
|
|
38 |
#include "Sampler.h" |
#include "Sampler.h" |
39 |
#include "common/global_private.h" |
#include "common/global_private.h" |