Windows NT 4.0 source code leak
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

62 lines
969 B

/* this header sets packing to 1 for different compilers */
#ifdef N_PACK_1
#if defined(__BORLANDC__)
#pragma option -a-
#elif defined(N_PLAT_UNIX)
#pragma pack(1)
#else
#pragma pack(1)
#endif
#else /* N_PACK_1 */
#if defined(N_PLAT_DOS) || (defined N_PLAT_MSW && defined N_ARCH_16 && !defined N_PLAT_WNT) || defined(N_PLAT_OS2)
#if defined(__BORLANDC__)
#pragma option -a-
#else
#if defined( _MSC_VER )
#if (_MSC_VER > 600)
#pragma warning(disable:4103)
#endif
#endif
#pragma pack(1)
#endif
#elif defined N_PLAT_WNT && defined N_ARCH_32
/* For Windows NT default pack is 8 */
#pragma warning(disable:4103)
#ifdef N_FORCE_INT_16
/* Force packing to 1 for the thunk layer */
#pragma pack(1)
#else
#pragma pack(4)
#endif
#elif defined N_PLAT_MSW4 && defined N_ARCH_32
/* For Windows 95 default pack is 8 */
#pragma warning(disable:4103)
#pragma pack(1)
#elif defined(N_PLAT_UNIX)
#pragma pack(1)
#endif
#endif /* N_PACK_1 */