소스 검색

Merge remote-tracking branch 'refs/remotes/raysan5/master' into develop

Conflicts:
	src/makefile
pull/75/head
Joshua Reisenauer 10 년 전
부모
커밋
edf64c085e
2개의 변경된 파일13개의 추가작업 그리고 1개의 파일을 삭제
  1. +2
    -1
      src/gestures.c
  2. +11
    -0
      src/makefile

+ 2
- 1
src/gestures.c 파일 보기

@ -40,6 +40,7 @@
int __stdcall QueryPerformanceCounter(unsigned long long int *lpPerformanceCount);
int __stdcall QueryPerformanceFrequency(unsigned long long int *lpFrequency);
#elif defined(__linux)
#include <sys/time.h> // Declares storage size of ‘now’
#include <time.h> // Used for clock functions
#endif
@ -685,4 +686,4 @@ static EM_BOOL EmscriptenInputCallback(int eventType, const EmscriptenTouchEvent
return 1;
}
#endif
#endif

+ 11
- 0
src/makefile 파일 보기

@ -67,12 +67,23 @@ else
endif
# define compiler flags:
<<<<<<< HEAD
# -O1 defines optimization level
# -Wall turns on most, but not all, compiler warnings
# -std=c99 defines C language mode (standard C from 1999 revision)
# -std=gnu99 defines C language mode (GNU C from 1999 revision)
# -fgnu89-inline declaring inline functions support (GCC optimized, faster)
CFLAGS = -O1 -Wall -std=gnu99 -fgnu89-inline
=======
# -O2 defines optimization level
# -Wall turns on most, but not all, compiler warnings
# -std=c99 use standard C from 1999 revision
ifeq ($(PLATFORM),PLATFORM_RPI)
CFLAGS = -O1 -Wall -std=gnu99 -fgnu89-inline
else
CFLAGS = -O1 -Wall -std=gnu99
endif
>>>>>>> refs/remotes/raysan5/master
#CFLAGSEXTRA = -Wextra -Wmissing-prototypes -Wstrict-prototypes

불러오는 중...
취소
저장