Compiled under Redhat Linux<Right

This commit is contained in:
cvs
2000-02-18 15:54:23 +00:00
parent b9529f1cfd
commit cbc7fdf334
48 changed files with 160 additions and 109 deletions

View File

@@ -3,15 +3,20 @@
#
# Mark Koennecke, November 1996
#--------------------------------------------------------------------------
CC=cc
#CC= gcc
#CC=cc
CC= gcc
OBJ= el734_utility.o asynsrv_utility.o stredit.o \
strjoin.o geterrno.o el737_utility.o sinqhm.o serialsinq.o \
itc4util.o dillutil.o table.o el755_utility.o el755_errorlog.o \
makeprint.o
CFLAGS= -I/data/koenneck/include -I. -I../ -std1 -g -c
#---------- for Redhat linux
CFLAGS= -I/usr/local/include -I. -I../ -DLINUX -g -c
#------------ for DigitalUnix
#CFLAGS= -I/data/koenneck/include -I. -I../ -std1 -g -c
#------------ for DigitalUnix with Fortify
#CFLAGS= -I/data/koenneck/include -DFORTIFY -I. -I../ -std1 -g -c
#------------ for CYGNUS toolchain on Win32
#CFLAGS= -I. -I../ -DCYGNUS -g -c
.c.o:
$(CC) $(CFLAGS) $*.c

View File

@@ -676,7 +676,9 @@
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#ifndef LINUX
#include <timers.h>
#endif
#include <errno.h>
#include <signal.h>
#include <netdb.h>
@@ -2135,6 +2137,10 @@ char cILLGText[256];
int *fp_cntr,
int *fr_cntr,
float *ist_posit) {
#ifdef LINUX
#define nanosleep_d9 nanosleep
#endif
#ifdef __VMS
#include <lib$routines.h>
#define hibernate lib$wait (0.25)

View File

@@ -500,7 +500,9 @@
#include <stdlib.h>
#include <stdio.h>
#include <stdarg.h>
#ifndef LINUX
#include <timers.h>
#endif
#include <errno.h>
#include <signal.h>
#include <netdb.h>
@@ -1444,6 +1446,9 @@
int *c3,
int *c4,
float *timer) {
#ifdef LINUX
#define nanosleep_d9 nanosleep
#endif
#ifdef __VMS
#include <lib$routines.h>
#define hibernate lib$wait (0.25)

View File

@@ -55,8 +55,11 @@
#include "sinqhm.h"
#include "sinqhm.i"
/* missing in cygnus network stuff?? */
#ifdef CYGNUS
/* missing in cygnus and linux network stuff?? */
#ifdef LINUX
#define CYGNUS
#endif
#ifdef CYGNUS
#define MSG_WAITALL 0
#endif