Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
WinPrefix.h
// WinPrefix.h |
// prefix file for our Windows projects |
#ifndef __Prefix_File__ |
#define __Prefix_File__ |
#if !defined(_MSC_VER) |
#include <Win32Headers.mch> |
#else |
#include <ConditionalMacros.h> |
#endif |
// Definitions for the project |
#define DEBUG 0 |
#define ONLY_ENCODED_SCRIPTS 0 |
#define PROFILING_ON 0 |
#undef QD3D_NO_DIRECTDRAW |
#ifndef QD3D_AVAIL |
#define QD3D_AVAIL !TARGET_CPU_68K |
#endif |
#ifndef SOUNDSPROCKET_AVAIL |
#define SOUNDSPROCKET_AVAIL TARGET_CPU_PPC |
#endif |
#ifndef PASCAL_RTN |
#define PASCAL_RTN |
#endif |
// if we're being compiled by Microsoft Visual C++, turn off some warnings |
#if defined(_MSC_VER) && !defined(__MWERKS__) |
#pragma warning(disable:4068) // ignore unknown pragmas |
#pragma warning(disable:4244) // ignore conversion from "long" to "short", possible loss of data |
#pragma warning(disable:4761) // ignore integral size mismatch in argument: conversion supplied |
#pragma warning(disable:4129) // ignore 'p': unrecognized character escape sequence |
#pragma warning(disable:4229) // ignore anachronism used: modifiers on data are ignored |
#endif |
#endif // __Prefix_File__ |
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-02-25