5 if env['platform'] in ['windows']:
14 env.Append(CPPDEFINES = [
15 '_GDI32_', # prevent wgl* being declared __declspec(dllimport)
16 'BUILD_GL32', # declare gl* as __declspec(dllexport) in Mesa headers
18 '_GNU_H_WINDOWS32_DEFINES',
23 'shared/stw_context.c',
24 'shared/stw_device.c',
25 'shared/stw_framebuffer.c',
26 'shared/stw_pixelformat.c',
27 'shared/stw_quirks.c',
28 'wgl/stw_wgl_arbextensionsstring.c',
29 'wgl/stw_wgl_arbmultisample.c',
30 'wgl/stw_wgl_arbpixelformat.c',
32 'wgl/stw_wgl_getprocaddress.c',
33 'wgl/stw_wgl_pixelformat.c',
34 'wgl/stw_wgl_swapbuffers.c',
37 wgl = env.ConvenienceLibrary(