diff options
| -rw-r--r-- | lfn.h | 4 | ||||
| -rw-r--r-- | makefile | 2 | ||||
| -rw-r--r-- | sftsr.c | 1 | ||||
| -rw-r--r-- | unicode.h | 2 | 
4 files changed, 4 insertions, 5 deletions
| @@ -31,7 +31,7 @@  #define MIN_HASH_CHARS 2  #define MAX_HASH_CHARS 6 -#ifdef __IN_SFTSR__ +#ifdef IN_TSR  static inline bool translate_filename_from_host(SHFLSTRING *, bool, bool);  static bool matches_8_3_wildcard(const char __far *, const char __far *); @@ -438,5 +438,5 @@ static inline uint16_t get_true_host_name(SHFLROOT root, TSRDATAPTR data, uint8_  	return get_true_host_name_n(root, data, dst, src, buflen, buflen);  } -#endif // __IN_SFTSR__ +#endif // IN_TSR  #endif // LFN_H @@ -13,7 +13,7 @@ doscflags = -bt=dos -ms -6 -osi -w3 -wcd=202  # -osi to optimize for size, put intrinsics inline (to avoid runtime calls)  # -w3 enables warnings  # -wcd=202 disables the unreferenced function warning (e.g., for inline functions in headers) -dostsrcflags = -zu -s -g=RES_GROUP -nd=RES -nt=RES_TEXT -nc=RES_CODE +dostsrcflags = -DIN_TSR -zu -s -g=RES_GROUP -nd=RES -nt=RES_TEXT -nc=RES_CODE  # -s to disable stack checks, since it inserts calls to the runtime from the TSR part  # -zu since ss != ds on the TSR @@ -67,7 +67,6 @@ static SHFLSTRING_WITH_BUF(shflstr, SHFL_MAX_LEN);  /** Private buffer where we store VirtualBox-obtained dir entries. */  static SHFLDIRINFO_WITH_NAME_BUF(shfldirinfo, SHFL_MAX_LEN); -#define __IN_SFTSR__ 1  #include "unicode.h"  #include "nls.h"  #include "lfn.h" @@ -24,7 +24,7 @@  #include "sftsr.h" -#ifdef __IN_SFTSR__ +#ifdef IN_TSR  #define TSRDATAPTR PTSRDATA  #else  #define TSRDATAPTR LPTSRDATA | 
