mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-07 03:13:49 +00:00
Silence some compiler warnings
This commit is contained in:
parent
7084767836
commit
4745601a74
|
@ -4,7 +4,9 @@
|
|||
#include <vector>
|
||||
|
||||
#ifdef OS_WINDOWS
|
||||
#ifndef NOMINMAX
|
||||
#define NOMINMAX
|
||||
#endif
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include "winlnxdefs.h"
|
||||
|
|
|
@ -36,7 +36,9 @@ extern "C" {
|
|||
#if defined(OS_WINDOWS)
|
||||
#define EXPORT __declspec(dllexport)
|
||||
#define CALL __cdecl
|
||||
#ifndef PATH_MAX
|
||||
#define PATH_MAX _MAX_PATH
|
||||
#endif
|
||||
#define strdup _strdup
|
||||
#else /* Not WIN32 */
|
||||
#define EXPORT __attribute__((visibility("default")))
|
||||
|
|
Loading…
Reference in New Issue
Block a user