Use STATIC=static for watcom C (statics are in the mapfile); remove
some cruft. git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@686 6ac86273-5f31-0410-b378-82cca8765d1b
This commit is contained in:
parent
f8f0891503
commit
0aba4bc7fb
@ -112,9 +112,6 @@ static BYTE *device_hRcsId =
|
|||||||
#ifndef FALSE
|
#ifndef FALSE
|
||||||
#define FALSE 0
|
#define FALSE 0
|
||||||
#endif
|
#endif
|
||||||
#define mk_offset(far_ptr) ((UWORD)(far_ptr))
|
|
||||||
#define mk_segment(far_ptr) ((UWORD)((ULONG)(far_ptr) >> 16))
|
|
||||||
#define far_ptr(seg, off) ((VOID FAR *)(((ULONG)(off))+((ULONG)(seg) << 16)))
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* structures
|
* structures
|
||||||
|
@ -194,7 +194,7 @@ typedef unsigned short CLUSTER;
|
|||||||
#endif
|
#endif
|
||||||
typedef unsigned short UNICODE;
|
typedef unsigned short UNICODE;
|
||||||
|
|
||||||
#ifdef STATICS
|
#if defined(STATICS) || defined(__WATCOMC__)
|
||||||
#define STATIC static /* local calls inside module */
|
#define STATIC static /* local calls inside module */
|
||||||
#else
|
#else
|
||||||
#define STATIC
|
#define STATIC
|
||||||
|
Loading…
Reference in New Issue
Block a user