ScummVM API documentation
portdefs.h
1/* ScummVM - Graphic Adventure Engine
2 *
3 * ScummVM is the legal property of its developers, whose names
4 * are too numerous to list here. Please refer to the COPYRIGHT
5 * file distributed with this source distribution.
6 *
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 *
20 */
21
22#ifndef PORTDEFS_H
23#define PORTDEFS_H
24
25// FIXME: This file is only used when building using the file
26// backends/platform/psp/Makefile, but not when building using configure
27// && make. So either -DNONSTANDARD_PORT needs to be added to the PSP
28// configure rules, or it should be removed from the aforementioned
29// Makefile.
30
31#include <malloc.h>
32#include <time.h>
33
34#include <stdio.h>
35#include <stdlib.h>
36#include <string.h>
37#include <stdarg.h>
38#include <stddef.h>
39#include <assert.h>
40#include <ctype.h>
41#include <inttypes.h>
42#include <limits.h>
43#include <math.h>
44#include <new>
45#include <limits>
46
47#include <pspkernel.h>
48#include <pspdebug.h>
49#include <pspdisplay.h>
50#include <pspctrl.h>
51
52#include "trace.h"
53
54
55//#define BREAKPOINT asm("break\n")
56
57
58//#define printf pspDebugScreenPrintf
59
60#endif /* PORTDEFS_H */