Added a compiler condition so we can play on Windows too
This commit is contained in:
parent
5af07e88f0
commit
ca55281463
@ -1,5 +1,9 @@
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <SDL.h>
|
||||
#include <Windows.h>
|
||||
#else
|
||||
#include <SDL2/SDL.h>
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
|
||||
void drawPaddle(SDL_Renderer *renderer, int paddleX, int paddleWidth);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user