瀏覽代碼

ios: Fixed math include in demos.

Philipp Wiesemann 9 年之前
父節點
當前提交
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 "math.h"
+#include <math.h>
 #include "common.h"
 
 #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 "math.h"
+#include <math.h>
 #include "common.h"
 
 #define BRUSH_SIZE 32           /* width and height of the brush */