Added a compiler condition so we can play on Windows too

This commit is contained in:
Joe Adams 2017-12-10 17:55:35 +00:00
parent 5af07e88f0
commit ca55281463

View File

@ -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);