test/testpalette.c
changeset 3589 06f0768a904c
parent 2855 422452508c76
equal deleted inserted replaced
3588:c5fe76962106 3589:06f0768a904c
     7 
     7 
     8 #include <stdio.h>
     8 #include <stdio.h>
     9 #include <stdlib.h>
     9 #include <stdlib.h>
    10 #include <string.h>
    10 #include <string.h>
    11 #include <math.h>
    11 #include <math.h>
    12 
       
    13 /* This isn't in the Windows headers */
       
    14 #ifndef M_PI
       
    15 #define M_PI	3.14159265358979323846
       
    16 #endif
       
    17 
    12 
    18 #include "SDL.h"
    13 #include "SDL.h"
    19 
    14 
    20 /* screen size */
    15 /* screen size */
    21 #define SCRW 640
    16 #define SCRW 640