Просмотр исходного кода

ios: Fixed math include in demos.

Philipp Wiesemann 8 лет назад
Родитель
Сommit
b84fe2c06b
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      Xcode-iOS/Demos/src/accelerometer.c
  2. 1 1
      Xcode-iOS/Demos/src/touch.c

+ 1 - 1
Xcode-iOS/Demos/src/accelerometer.c

@@ -5,7 +5,7 @@
  */
  */
 
 
 #include "SDL.h"
 #include "SDL.h"
-#include "math.h"
+#include <math.h>
 #include "common.h"
 #include "common.h"
 
 
 #define DAMPING 0.5f;           /* after bouncing off a wall, damping coefficient determines final speed */
 #define DAMPING 0.5f;           /* after bouncing off a wall, damping coefficient determines final speed */

+ 1 - 1
Xcode-iOS/Demos/src/touch.c

@@ -5,7 +5,7 @@
  */
  */
 
 
 #include "SDL.h"
 #include "SDL.h"
-#include "math.h"
+#include <math.h>
 #include "common.h"
 #include "common.h"
 
 
 #define BRUSH_SIZE 32           /* width and height of the brush */
 #define BRUSH_SIZE 32           /* width and height of the brush */