trpage_sys.h
来自「最新osg包」· C头文件 代码 · 共 104 行
H
104 行
/* ************************ Copyright Terrain Experts Inc. Terrain Experts Inc (TERREX) reserves all rights to this source code unless otherwise specified in writing by the President of TERREX. This copyright may be updated in the future, in which case that version supercedes this one. ------------------- Terrex Experts Inc. 4400 East Broadway #314 Tucson, AZ 85711 info@terrex.com Tel: (520) 323-7990 ************************ *//* trpage_sys.h System specific declarations. */#ifndef trpage_sys_h_#define trpage_sys_h_#ifndef PATHSEPERATOR#ifdef macintosh#define PATHSEPERATOR ":"#else#define PATHSEPERATOR "/"#endif#endif#if defined(_WIN32)/* ********************* System Specific Section. This is currently set up for win32. ********************* */#include <windows.h>#ifdef _MSC_VER// Microsoft Developer warnings that annoy me#pragma warning ( disable : 4251)#pragma warning ( disable : 4275)#pragma warning ( disable : 4786)#pragma warning ( disable : 4251)#endif// Somewhat system independent file deletion macro#define TRPGDELETEFILE(file) DeleteFile((file))#ifndef int64// 64 bit long value. Need this for really big files.typedef __int64 int64;#endif// Get the template intantiations for basic types#include <osg/Export>#else // Unix#include <stdio.h>// Delete a file#define TRPGDELETEFILE(file) remove((file))#ifndef int64typedef long long int64;#endif#endif// Basic data types#ifndef uint8typedef unsigned char uint8;#endif#ifndef int32typedef int int32;#endif#ifndef uint32typedef unsigned int uint32;#endif#ifndef float32typedef float float32;#endif#ifndef float64typedef double float64;#endif#include <vector>#include <map>#include <string>// We use long longs for addresses within a paging filetypedef int64 trpgllong;// These are used to export classes from a DLL// Definitely Windows specific#include <trpage_ident.h>#include <trdll.h>#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?