added os depen stuff
This commit is contained in:
@@ -11,6 +11,9 @@ INC += shareLib.h
|
||||
INC += createSoftLinks.sh
|
||||
INC += bsdProto.h
|
||||
INC += task_params.h
|
||||
INC += osiMutexNOOP.h
|
||||
|
||||
OSINC += osiSock.h
|
||||
|
||||
include $(TOP)/config/RULES.Unix
|
||||
|
||||
|
||||
7
src/include/Makefile.Vx
Executable file
7
src/include/Makefile.Vx
Executable file
@@ -0,0 +1,7 @@
|
||||
TOP = ../../..
|
||||
include $(TOP)/config/CONFIG_BASE
|
||||
|
||||
OSINC += osiSock.h
|
||||
|
||||
include $(TOP)/config/RULES.Vx
|
||||
|
||||
18
src/include/osiMutexNOOP.h
Normal file
18
src/include/osiMutexNOOP.h
Normal file
@@ -0,0 +1,18 @@
|
||||
|
||||
//
|
||||
// osiMutex - OS independent mutex
|
||||
// (NOOP on single threaded OS)
|
||||
//
|
||||
class osiMutex {
|
||||
public:
|
||||
//
|
||||
// constructor that returns status
|
||||
// (since g++ does not have exceptions)
|
||||
//
|
||||
int init() {return 0;}
|
||||
void osiLock() {}
|
||||
void osiUnlock() {}
|
||||
void show (unsigned) const {}
|
||||
private:
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user