1
0
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:
Logan McNaughton 2016-11-07 12:18:26 -07:00
parent 7084767836
commit 4745601a74
2 changed files with 4 additions and 0 deletions

View File

@ -4,7 +4,9 @@
#include <vector>
#ifdef OS_WINDOWS
#ifndef NOMINMAX
#define NOMINMAX
#endif
#include <windows.h>
#else
#include "winlnxdefs.h"

View File

@ -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")))