Added explicit inclusions of boinc_win.h

svn path=/trunk/boinc/; revision=9076
This commit is contained in:
Eric J. Korpela 2005-12-16 03:33:36 +00:00
parent 9e9416aa6d
commit bb5862d6fe
3 changed files with 14 additions and 2 deletions

View File

@ -24,12 +24,16 @@
#if defined(_WIN32) #if defined(_WIN32)
# include <GL/gl.h> # include <GL/gl.h>
# include <GL/glu.h> # include <GL/glu.h>
#ifndef __MINGW32__ #if !defined(__MINGW32__) && !defined(__CYGWIN32__)
# include <GL/glaux.h> # include <GL/glaux.h>
#else #else
# include <GL/glext.h> # include <GL/glext.h>
#endif #endif
# include <glut.h> #if defined(HAVE_GL_GLUT_H)
# include <GL/glut.h>
#else
# include<glut.h>
#endif
#elif defined(__APPLE_CC__) #elif defined(__APPLE_CC__)

View File

@ -20,6 +20,10 @@
// Code that is included in the shared-library part of a graphics app, // Code that is included in the shared-library part of a graphics app,
// but NOT in libboinc_graphics_api.a (used by monolithic apps) // but NOT in libboinc_graphics_api.a (used by monolithic apps)
#ifdef _WIN32
#include "boinc_win.h"
#endif
#include "config.h" #include "config.h"
#include "app_ipc.h" #include "app_ipc.h"
#include "graphics_impl.h" #include "graphics_impl.h"

View File

@ -22,6 +22,10 @@
// This lets you make applications that work whether or not // This lets you make applications that work whether or not
// the host has X11 and OpenGL libraries. // the host has X11 and OpenGL libraries.
#ifdef _WIN32
#include "boinc_win.h"
#endif
#include "config.h" #include "config.h"
#include <dlfcn.h> #include <dlfcn.h>