[Commits] SDL: ios: Fixed math include in demos.

libsdl.org revision control commits-owner at libsdl.org
Thu May 25 14:10:39 PDT 2017


details:   https://hg.libsdl.org/SDL/rev/3b8bfd13c61f
changeset: 11033:3b8bfd13c61f
user:      Philipp Wiesemann <philipp.wiesemann at arcor.de>
date:      Thu May 25 23:01:59 2017 +0200
description:
ios: Fixed math include in demos.

diffstat:

 Xcode-iOS/Demos/src/accelerometer.c |  2 +-
 Xcode-iOS/Demos/src/touch.c         |  2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diffs (24 lines):

diff -r d4d9c2a86db1 -r 3b8bfd13c61f Xcode-iOS/Demos/src/accelerometer.c
--- a/Xcode-iOS/Demos/src/accelerometer.c	Thu May 25 23:01:34 2017 +0200
+++ b/Xcode-iOS/Demos/src/accelerometer.c	Thu May 25 23:01:59 2017 +0200
@@ -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 */
diff -r d4d9c2a86db1 -r 3b8bfd13c61f Xcode-iOS/Demos/src/touch.c
--- a/Xcode-iOS/Demos/src/touch.c	Thu May 25 23:01:34 2017 +0200
+++ b/Xcode-iOS/Demos/src/touch.c	Thu May 25 23:01:59 2017 +0200
@@ -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 */


More information about the commits mailing list