Commit 0a997524 authored by Robert Pouliot's avatar Robert Pouliot Committed by Alexandre Julliard

A few patches to help Wine to compile on OS/2.

parent b94e4330
......@@ -8,6 +8,10 @@
#include <malloc.h>
#include <math.h>
#include <string.h>
#include "config.h"
#if defined(HAVE_FLOAT_H)
#include <float.h>
#endif
#include "winbase.h"
#include "wingdi.h"
......
......@@ -6,12 +6,16 @@
*/
#include <string.h>
#include <math.h>
#include "config.h"
#if defined(HAVE_FLOAT_H)
#include <float.h>
#endif
#if !defined(PI)
#define PI M_PI
#endif
#include "psdrv.h"
#include "debug.h"
#include "winspool.h"
#ifndef PI
#define PI M_PI
#endif
/**********************************************************************
* PSDRV_MoveToEx
......
......@@ -98,8 +98,6 @@ typedef struct ucontext SIGCONTEXT;
#endif /* svr4 || SCO_DS */
#ifdef __EMX__
typedef unsigned long ULONG;
typedef unsigned short USHORT;
typedef struct _fpreg /* Note 1 */
{
ULONG losig;
......
@echo off
rem #!/bin/sh
rem GCCLOAD not needed, but recommended...
rem set GCCLOAD=5
set MAKE=make
set CC=gcc
set CFLAGS=-O2 -Zmtd -D__ST_MT_ERRNO__
set YACC=bison -y
set LEX=flex -olex.yy.c
set RANLIB=ar -s
set PROGEXT=.exe
rem export CC CFLAGS YACC LEX RANLIB PROGEXT
sh configure --x-includes=%X11ROOT%/XFree86/include -x-libraries=%X11ROOT%/XFree86/lib
#!/bin/sh
# GCCLOAD not needed, but recommended...
#GCCLOAD=5
CC=gcc
CFLAGS="-O2 -Zmtd -D__ST_MT_ERRNO__"
YACC="bison -y"
LEX="flex -olex.yy.c"
RANLIB="ar -s"
PROGEXT=".exe"
export CC CFLAGS YACC LEX RANLIB PROGEXT
./configure --x-includes=$X11ROOT/XFree86/include -x-libraries=$X11ROOT/XFree86/lib
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