Last of the config.h mods...

#ifdef HAVE_CONFIG_H
#include <config.h>
#endif

added to these files.

Kent
--
mein@cs.umn.edu
This commit is contained in:
2002-11-25 15:29:57 +00:00
parent d0e346d544
commit 209a2ede2c
212 changed files with 799 additions and 146 deletions

View File

@@ -30,6 +30,10 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32
#include <windows.h>
#endif

View File

@@ -29,6 +29,11 @@
*
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32
#pragma warning (disable:4786) // suppress stl-MSVC debug info warning
#endif // WIN32

View File

@@ -33,6 +33,9 @@
#include <iostream.h>
#include "GPC_KeyboardDevice.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/**
* NextFrame toggles currentTable with previousTable,

View File

@@ -32,6 +32,9 @@
#include "GPC_MouseDevice.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
GPC_MouseDevice::GPC_MouseDevice()
{

View File

@@ -30,10 +30,12 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#include "GPC_PolygonMaterial.h"
#include "MT_Vector3.h"
#include "RAS_IRasterizer.h"
/* This list includes only data type definitions */

View File

@@ -34,9 +34,12 @@
#include <string.h>
#include "GPC_RawImage.h"
#include "GPC_RawLogoArrays.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
GPC_RawImage::GPC_RawImage()
: m_data(0), m_dataSize(0), m_width(0), m_height(0)

View File

@@ -31,10 +31,11 @@
// This file is automatically generated. Do not edit by hand!
#include "GPC_RawLoadDotBlendArray.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
void GetRawLoadingAnimation(unsigned char **data, int *dataSize)
{

View File

@@ -31,10 +31,11 @@
// This file is automatically generated. Do not edit by hand!
#include "GPC_RawLogoArrays.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
void GetRawBlenderLogo(unsigned char **data, int *width, int *height)
{

View File

@@ -30,6 +30,9 @@
* ***** END GPL/BL DUAL LICENSE BLOCK *****
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32
#pragma warning (disable : 4786)

View File

@@ -35,6 +35,9 @@
#include "GPC_KeyboardDevice.h"
#include "NG_NetworkDeviceInterface.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
GPC_System::GPC_System()
// : m_ndi(0)
@@ -87,4 +90,4 @@ NG_NetworkDeviceInterface* GPC_System::GetNetworkDevice() const
{
return m_ndi;
}
*/
*/

View File

@@ -61,6 +61,10 @@
#include "BKE_bmfont.h"
#include "BKE_bmfont_types.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
/*MAART:
void printfGlyph(bmGlyph * glyph)
{

View File

@@ -31,9 +31,12 @@
*/
//#include <iostream>
#include "GPU_Canvas.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
GPU_Canvas::GPU_Canvas(KXH_plugin_handle p, int width, int height)
: GPC_Canvas(width, height), m_plugin(p)
{

View File

@@ -32,11 +32,8 @@
#include <assert.h>
#include <unistd.h>
#include "GPU_Engine.h"
#include "GPC_MouseDevice.h"
#include "GPU_Canvas.h"
#include "GPU_KeyboardDevice.h"
#include "GPU_System.h"
@@ -56,6 +53,9 @@
#include "GPC_RenderTools.h"
#include "GPC_RawImage.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
void Redraw(GPU_Engine *engine); // -the- redraw function

View File

@@ -32,6 +32,10 @@
#include <iostream.h>
#include "GPU_KeyboardDevice.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
void GPU_KeyboardDevice::register_X_key_down_event(KeySym k)
{
ConvertEvent(k, 1);

View File

@@ -31,9 +31,11 @@
*/
#include <sys/time.h>
#include "GPU_System.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
static struct timeval startTime;
static int startTimeDone = 0;

View File

@@ -32,6 +32,10 @@
#include "GPW_Canvas.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
GPW_Canvas::GPW_Canvas(HWND hWnd, HDC hDC, int width, int height)
: GPC_Canvas(width, height), m_hWnd(hWnd), m_hRC(0), m_hDC(hDC)
{

View File

@@ -48,6 +48,9 @@
#include "NG_NetworkScene.h"
#include "NG_LoopBackNetworkDeviceInterface.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
GPW_Engine::GPW_Engine(char *customLoadingAnimationURL,
int foregroundColor, int backgroundColor, int frameRate) :

View File

@@ -32,6 +32,9 @@
#include "GPW_KeyboardDevice.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
// Key code values not found in winuser.h
#ifndef VK_MINUS

View File

@@ -32,9 +32,11 @@
*/
#include <windows.h>
#include "GPW_System.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
GPW_System::GPW_System(void)
{

View File

@@ -31,6 +31,10 @@
* GHOST Blender Player application implementation file.
*/
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef WIN32
#pragma warning (disable:4786) // suppress stl-MSVC debug info warning
#endif

View File

@@ -31,11 +31,12 @@
*/
#include "GPG_Canvas.h"
#include <assert.h>
#include "GHOST_ISystem.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
GPG_Canvas::GPG_Canvas(GHOST_IWindow* window)
: GPC_Canvas(0, 0), m_window(window)

View File

@@ -31,9 +31,11 @@
* GHOST Blender Player keyboard device implementation.
*/
#include "GPG_KeyboardDevice.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
GPG_KeyboardDevice::GPG_KeyboardDevice(void)
{

View File

@@ -32,11 +32,12 @@
*/
#include "GPG_System.h"
#include <assert.h>
#include "GHOST_ISystem.h"
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
GPG_System::GPG_System(GHOST_ISystem* system)
: m_system(system)

View File

@@ -34,6 +34,10 @@
#include <iostream>
#include <math.h>
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
#ifdef __linux__
#ifdef __alpha__
#include <signal.h>