Leaked source code of windows server 2003
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.

20 lines
510 B

  1. //
  2. // Without this define, link errors can occur due to missing _pctype and
  3. // __mb_cur_max
  4. //
  5. #define _CTYPE_DISABLE_MACROS
  6. #define UNICODE
  7. #define _UNICODE
  8. #include <nt.h>
  9. #include <ntrtl.h>
  10. #include <stdlib.h>
  11. #include <tchar.h>
  12. #define RtlIpv4StringToAddressT RtlIpv4StringToAddressW
  13. #define RtlIpv6StringToAddressT RtlIpv6StringToAddressW
  14. #define RtlIpv4StringToAddressExT RtlIpv4StringToAddressExW
  15. #define RtlIpv6StringToAddressExT RtlIpv6StringToAddressExW
  16. #include "str2addt.h"