Parcourir la source

iOS: Replaced #import with #include in two demos.

This extension to C is not required here and made the demos less portable.
Philipp Wiesemann il y a 10 ans
Parent
commit
e9ca5b28a6
2 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 2 2
      Xcode-iOS/Demos/src/keyboard.c
  2. 2 2
      Xcode-iOS/Demos/src/mixer.c

+ 2 - 2
Xcode-iOS/Demos/src/keyboard.c

@@ -4,8 +4,8 @@
  *  use however you want
  */
 
-#import "SDL.h"
-#import "common.h"
+#include "SDL.h"
+#include "common.h"
 
 #define GLYPH_SIZE_IMAGE 16     /* size of glyphs (characters) in the bitmap font file */
 #define GLYPH_SIZE_SCREEN 32    /* size of glyphs (characters) as shown on the screen */

+ 2 - 2
Xcode-iOS/Demos/src/mixer.c

@@ -4,8 +4,8 @@
  *  use however you want
  */
 
-#import "SDL.h"
-#import "common.h"
+#include "SDL.h"
+#include "common.h"
 
 #define NUM_CHANNELS 8          /* max number of sounds we can play at once */
 #define NUM_DRUMS 4             /* number of drums in our set */