diff options
author | CoprDistGit <infra@openeuler.org> | 2024-07-24 10:37:26 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2024-07-24 10:37:26 +0000 |
commit | 2828cc3592dd9617f7c68809291ae8447c0dfe74 (patch) | |
tree | e2f73e9a1e875cc230002fc9bfc914d38e4b0db0 /freetds-tds_sysdep_public.h | |
parent | f58ba82add50053aae3009ccbde7538113966b4a (diff) |
automatic import of freetdsopeneuler24.03_LTS
Diffstat (limited to 'freetds-tds_sysdep_public.h')
-rw-r--r-- | freetds-tds_sysdep_public.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/freetds-tds_sysdep_public.h b/freetds-tds_sysdep_public.h new file mode 100644 index 0000000..02824c0 --- /dev/null +++ b/freetds-tds_sysdep_public.h @@ -0,0 +1,15 @@ +/* + * To avoid multiarch conflicts, we differentiate the 32/64 bit length + * specific header names. This file is a wrapper to include the proper + * arch-specific header at compile time. + */ + +#include <bits/wordsize.h> + +#if __WORDSIZE == 32 +#include <tds_sysdep_public_32.h> +#elif __WORDSIZE == 64 +#include <tds_sysdep_public_64.h> +#else +#error "Unknown word size" +#endif |