From 3bfafe6dc5962efb69fb56f24537d6b4837300b6 Mon Sep 17 00:00:00 2001 From: Jim Tabor Date: Mon, 7 Aug 2000 22:24:10 +0000 Subject: [PATCH] Add NLS Patch git-svn-id: https://svn.code.sf.net/p/freedos/svn/kernel/trunk@65 6ac86273-5f31-0410-b378-82cca8765d1b --- hdr/algnbyte.h | 11 +++++++++++ hdr/algndflt.h | 7 +++++++ 2 files changed, 18 insertions(+) create mode 100644 hdr/algnbyte.h create mode 100644 hdr/algndflt.h diff --git a/hdr/algnbyte.h b/hdr/algnbyte.h new file mode 100644 index 0000000..23dfd06 --- /dev/null +++ b/hdr/algnbyte.h @@ -0,0 +1,11 @@ + +#if defined(_MSC_VER) +#define asm __asm +#pragma pack(1) +#elif defined(_QC) || defined(__WATCOM__) +#pragma pack(1) +#elif defined(__ZTC__) +#pragma ZTC align 1 +#elif defined(__TURBOC__) && (__TURBOC__ > 0x202) +#pragma option -a- +#endif diff --git a/hdr/algndflt.h b/hdr/algndflt.h new file mode 100644 index 0000000..58c07cd --- /dev/null +++ b/hdr/algndflt.h @@ -0,0 +1,7 @@ +#if defined (_MSC_VER) || defined(_QC) || defined(__WATCOMC__) +#pragma pack() +#elif defined (__ZTC__) +#pragma ZTC align +#elif defined(__TURBOC__) && (__TURBOC__ > 0x202) +#pragma option -a. +#endif