aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoruser <email>2017-12-14 11:45:47 +0100
committeruser <email>2017-12-14 11:45:47 +0100
commita7f2fedbfbfde92e7c12c21b108a2b99965bc28d (patch)
tree3655f5374d7462ca933511b1b13cb8e7af2c265b /src
parent0e18b146055efd18029c4ac5553fd1e53dfbbfc8 (diff)
downloadraylib-a7f2fedbfbfde92e7c12c21b108a2b99965bc28d.tar.gz
raylib-a7f2fedbfbfde92e7c12c21b108a2b99965bc28d.zip
compilefix for function declaration (win only)
Diffstat (limited to 'src')
-rw-r--r--src/core.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core.c b/src/core.c
index d4646268..882aadcd 100644
--- a/src/core.c
+++ b/src/core.c
@@ -153,8 +153,9 @@
//#define GLFW_DLL // Using GLFW DLL on Windows -> No, we use static version!
#if !defined(SUPPORT_BUSY_WAIT_LOOP) && defined(_WIN32)
- __stdcall unsigned int timeBeginPeriod(unsigned int uPeriod);
- __stdcall unsigned int timeEndPeriod(unsigned int uPeriod);
+ // NOTE: Those functions require linking with winmm library
+ unsigned int __stdcall timeBeginPeriod(unsigned int uPeriod);
+ unsigned int __stdcall timeEndPeriod(unsigned int uPeriod);
#endif
#endif