snes9x/shaders/shader_platform.h

21 lines
344 B
C
Raw Normal View History

#ifndef __SHADER_PLATFORM_H
#define __SHADER_PLATFORM_H
2018-05-15 00:19:55 +02:00
#include "port.h"
#ifdef SNES9X_GTK
#include <epoxy/gl.h>
#include <epoxy/glx.h>
#endif
2018-05-15 00:19:55 +02:00
#ifdef _WIN32
#include <windows.h>
#include <stdlib.h>
#define chdir(dir) _chdir(dir)
#define realpath(src, resolved) _fullpath(resolved, src, PATH_MAX)
}
#endif
#endif /* __SHADER_PLATFORM_H */