1 | /* |
1 | /* |
2 | * Copyright (c) 2000 Marc Alexander Lehmann <pcg@goof.com> |
2 | * Copyright (c) 2000-2002 Marc Alexander Lehmann <pcg@goof.com> |
3 | * |
3 | * |
4 | * Redistribution and use in source and binary forms, with or without modifica- |
4 | * Redistribution and use in source and binary forms, with or without modifica- |
5 | * tion, are permitted provided that the following conditions are met: |
5 | * tion, are permitted provided that the following conditions are met: |
6 | * |
6 | * |
7 | * 1. Redistributions of source code must retain the above copyright notice, |
7 | * 1. Redistributions of source code must retain the above copyright notice, |
… | |
… | |
91 | # if USHRT_MAX == 65535 |
91 | # if USHRT_MAX == 65535 |
92 | typedef unsigned short u16; |
92 | typedef unsigned short u16; |
93 | # elif UINT_MAX == 65535 |
93 | # elif UINT_MAX == 65535 |
94 | typedef unsigned int u16; |
94 | typedef unsigned int u16; |
95 | # else |
95 | # else |
96 | # warn need 16 bit datatype when STRICT_ALIGN == 0, this is non-fatal |
|
|
97 | # undef STRICT_ALIGN |
96 | # undef STRICT_ALIGN |
98 | # define STRICT_ALIGN 1 |
97 | # define STRICT_ALIGN 1 |
99 | # endif |
98 | # endif |
100 | #endif |
99 | #endif |
101 | |
100 | |