Commit 2b5d7927 authored by fjtrujy's avatar fjtrujy
Browse files

Compile 2048 for PS2

parent 80d462ac
......@@ -168,6 +168,16 @@ else ifeq ($(platform), psl1ght)
PLATFORM_DEFINES := -D__CELLOS_LV2__
STATIC_LINKING = 1
# PS2
else ifeq ($(platform), ps2)
EXT=a
TARGET := $(TARGET_NAME)_libretro_$(platform).$(EXT)
CC = ee-gcc$(EXE_EXT)
AR = ee-ar$(EXE_EXT)
PLATFORM_DEFINES := -DPS2 -G0
CFLAGS := -Ips2
STATIC_LINKING = 1
# PSP
else ifeq ($(platform), psp1)
EXT=a
......
#ifndef STDINT_H
#define STDINT_H
typedef unsigned long uintptr_t;
typedef signed long intptr_t;
typedef signed char int8_t;
typedef signed short int16_t;
typedef signed int int32_t;
typedef signed long int64_t;
typedef unsigned char uint8_t;
typedef unsigned short uint16_t;
typedef unsigned int uint32_t;
typedef unsigned long uint64_t;
#define STDIN_FILENO 0 /* standard input file descriptor */
#define STDOUT_FILENO 1 /* standard output file descriptor */
#define STDERR_FILENO 2 /* standard error file descriptor */
#define INT8_C(val) val##c
#define INT16_C(val) val##h
#define INT32_C(val) val##i
#define INT64_C(val) val##l
#define UINT8_C(val) val##uc
#define UINT16_C(val) val##uh
#define UINT32_C(val) val##ui
#define UINT64_C(val) val##ul
#endif //STDINT_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment