- Added new napi files
- Port to Linux
This commit is contained in:
@@ -3,23 +3,19 @@
|
||||
#
|
||||
# Mark Koennecke, November 1996
|
||||
#--------------------------------------------------------------------------
|
||||
.SUFFIXES:
|
||||
.SUFFIXES: .c .o
|
||||
OBJ= el734_utility.o asynsrv_utility.o stredit.o \
|
||||
strjoin.o failinet.o geterrno.o el737_utility.o sinqhm.o serialsinq.o \
|
||||
itc4util.o dillutil.o table.o el755_utility.o el755_errorlog.o \
|
||||
makeprint.o StrMatch.o
|
||||
|
||||
#---------- for Redhat linux
|
||||
#CC= gcc
|
||||
#CFLAGS= -I. -I../ -DLINUX -g -c
|
||||
## CC= gcc
|
||||
## CFLAGS= -I. -I../ -DLINUX -g -c
|
||||
|
||||
CC= gcc
|
||||
CFLAGS= -I/usr/local/include -I. -I../ -DLINUX -g -c
|
||||
#------------ for DigitalUnix
|
||||
CC=cc
|
||||
CFLAGS= -I. -I../ -std1 -g -c
|
||||
CC=cc
|
||||
CFLAGS= -I. -I../ -std1 -g -c
|
||||
|
||||
#CC=cc
|
||||
#CFLAGS= -I/data/koenneck/include -I. -I../ -std1 -g -c
|
||||
#------------ for DigitalUnix with Fortify
|
||||
## CC=cc
|
||||
## CFLAGS= -DFORTIFY -I. -I../ -std1 -g -c
|
||||
|
||||
@@ -2581,7 +2581,13 @@
|
||||
#include <time.h>
|
||||
struct timespec delay = {0, 250000000};
|
||||
struct timespec delay_left;
|
||||
|
||||
#ifdef LINUX
|
||||
#define hibernate nanosleep(&delay, &delay_left)
|
||||
#else
|
||||
#define hibernate nanosleep_d9 (&delay, &delay_left)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
int msr, ss;
|
||||
struct EL734info *info_ptr;
|
||||
|
||||
@@ -1711,7 +1711,12 @@
|
||||
#include <time.h>
|
||||
struct timespec delay = {0, 250000000};
|
||||
struct timespec delay_left;
|
||||
#ifdef LINUX
|
||||
#define hibernate nanosleep(&delay, &delay_left)
|
||||
#else
|
||||
#define hibernate nanosleep_d9 (&delay, &delay_left)
|
||||
#endif
|
||||
|
||||
#endif
|
||||
int my_rs;
|
||||
struct EL737info *info_ptr;
|
||||
|
||||
Reference in New Issue
Block a user