Skip to content

Commit bb7ddbc

Browse files
authored
Merge pull request #294 from DankRank/master
Define APIENTRY the same way its defined in windows.h
2 parents e98617e + 7b64dce commit bb7ddbc

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

include/epoxy/gl.h

+4-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,10 @@
5656

5757
#else
5858
#ifndef APIENTRY
59-
#define APIENTRY __stdcall
59+
#ifndef WINAPI
60+
#define WINAPI __stdcall
61+
#endif
62+
#define APIENTRY WINAPI
6063
#endif
6164

6265
#ifndef GLAPIENTRY

0 commit comments

Comments
 (0)