Skip to content

Commit

Permalink
iOS: Replaced #import with #include in two demos.
Browse files Browse the repository at this point in the history
This extension to C is not required here and made the demos less portable.
  • Loading branch information
philippwiesemann committed Mar 27, 2016
1 parent 5fa0cbc commit e9ca5b2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Xcode-iOS/Demos/src/keyboard.c
Expand Up @@ -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 */
Expand Down
4 changes: 2 additions & 2 deletions Xcode-iOS/Demos/src/mixer.c
Expand Up @@ -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 */
Expand Down

0 comments on commit e9ca5b2

Please sign in to comment.