Commit 825d28ae authored by phcoder's avatar phcoder
Browse files

Add djgpp compilation

parent b49ca89f
......@@ -30,6 +30,10 @@ include:
- project: 'libretro-infrastructure/ci-templates'
file: '/linux-i686.yml'
# DJGPP
- project: 'libretro-infrastructure/ci-templates'
file: '/djgpp-static.yml'
# MacOS 64-bit
- project: 'libretro-infrastructure/ci-templates'
file: '/osx-x64.yml'
......@@ -148,6 +152,12 @@ libretro-build-osx-arm64:
- .libretro-osx-arm64-make-default
- .core-defs
# DJGPP
libretro-build-djgpp-i586:
extends:
- .libretro-djgpp-static-retroarch-master
- .core-defs
################################### CELLULAR #################################
# Android ARMv7a
android-armeabi-v7a:
......
......@@ -284,6 +284,14 @@ else ifeq ($(platform), ps2)
CFLAGS += -G0 -DPS2 -DUSE_RGB565 -DABGR1555
CXXFLAGS += -G0 -DPS2 -DUSE_RGB565 -DABGR1555
STATIC_LINKING=1
# DOS
else ifeq ($(platform), dos)
TARGET := $(TARGET_NAME)_libretro_$(platform).a
CC = i586-pc-msdosdjgpp-gcc
AR = i586-pc-msdosdjgpp-ar
CXX = i586-pc-msdosdjgpp-g++
PLATFORM_DEFINES += -march=i386
STATIC_LINKING=1
else
CC ?= gcc
TARGET := $(TARGET_NAME)_libretro.dll
......
#include "slock_wrapper.h"
#ifndef USE_SLOCK_WRAPPER
#elif defined(PS2) || defined(WIIU) // Single-threaded
#elif defined(PS2) || defined(WIIU) || defined(__DJGPP__) // Single-threaded
slock_wrap::slock_wrap() {
}
......
#pragma once
#if defined(_3DS) || defined(__PSP__) || defined(PS2) || defined(WIIU) || defined(GEKKO)
#if defined(_3DS) || defined(__PSP__) || defined(PS2) || defined(WIIU) || defined(GEKKO) || defined(__DJGPP__)
#define USE_SLOCK_WRAPPER 1
#endif
......
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