This website works better with JavaScript.
Home
Explore
Help
Sign In
Archivist
/
raylib-src
mirror of
https://github.com/raysan5/raylib
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
24
Wiki
Activity
Browse Source
Merge pull request
#29
from procedural/linux-fixes
Fix compiling on Linux
pull/56/head
Ray
9 years ago
parent
77558eec0c
7c36289768
commit
f582ab06ad
2 changed files
with
3 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
src/gestures.c
+1
-1
src/makefile
+ 2
- 1
src/gestures.c
View File
@ -37,6 +37,7 @@
#
if defined(_WIN32)
/
/
#
include
<
Windows
.
h
>
#
elif defined(__linux)
#
include
<sys/time.h> // Declares storage size of ‘now’
#
include
<time.h> // Used for clock functions
#
endif
@ -659,4 +660,4 @@ static EM_BOOL EmscriptenInputCallback(int eventType, const EmscriptenTouchEvent
return
1
;
}
#
endif
#
endif
+ 1
- 1
src/makefile
View File
@ -73,7 +73,7 @@ endif
i
f
e
q
(
$(
PLATFORM
)
,
P
L
A
T
F
O
R
M
_
R
P
I
)
CFLAGS
=
-O1 -Wall -std
=
gnu99 -fgnu89-inline
e
l
s
e
CFLAGS
=
-O1 -Wall -std
=
c
99
CFLAGS
=
-O1 -Wall -std
=
gnu
99
e
n
d
i
f
#CFLAGSEXTRA = -Wextra -Wmissing-prototypes -Wstrict-prototypes
Write
Preview
Loading…
Cancel
Save