Probably fixed SMB compilation under OS/2
This commit is contained in:
parent
ecb9c04f09
commit
02877adb54
@ -57,7 +57,7 @@ LIBEXT=.a
|
||||
endif
|
||||
endif
|
||||
endif
|
||||
CFLAGS+=-g -funsigned-char $(INCS) -Wall -Wno-sign-compare -pedantic -O2# -fomit-frame-pointer
|
||||
CFLAGS+=-g -funsigned-char $(INCS) -Wall -Wno-sign-compare -pedantic -O2 -DGOLDEDPLUS # -fomit-frame-pointer
|
||||
LNKFLAGS+=-g
|
||||
CPPFLAGS+=$(CFLAGS) -fno-exceptions -fno-rtti
|
||||
|
||||
|
@ -87,7 +87,7 @@ public:
|
||||
int originno() const { return cfg.originno; }
|
||||
Attr& attr() { return cfg.attr; }
|
||||
bool ispacked() const { return cfg.attr.pkd(); }
|
||||
void packed(bool a) { return cfg.attr.pkd(a); }
|
||||
void packed(bool a) { cfg.attr.pkd(a); }
|
||||
|
||||
bool ascan() { return (bool)cfg.scan; }
|
||||
bool ascanexcl() { return (bool)cfg.scanexcl; }
|
||||
|
@ -3,7 +3,6 @@
|
||||
TOP=../..
|
||||
TARGET=smblib
|
||||
INCS=-I$(TOP)/goldlib/smblib -I$(TOP)/goldlib/gall
|
||||
CFLAGS=-DGOLDEDPLUS
|
||||
|
||||
include $(TOP)/GNUmakef.inc
|
||||
include $(TOP)/GNUmakef.lib
|
||||
|
@ -58,6 +58,12 @@
|
||||
#define LZHEXPORT
|
||||
#endif
|
||||
|
||||
#ifdef __GNUC__
|
||||
#ifndef __FLAT__
|
||||
#define __FLAT__
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifndef GOLDEDPLUS
|
||||
#ifndef uchar
|
||||
#define uchar unsigned char
|
||||
|
@ -55,8 +55,8 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
/* SMB-specific headers */
|
||||
#include "smblib.h"
|
||||
|
Reference in New Issue
Block a user