dsound: Add typedefs for uint8_t, uint16_t and uint32_t for systems that don't have stdint.h.

Michael Karcher wine at mkarcher.dialup.fu-berlin.de
Fri Oct 17 05:45:21 CDT 2008


Am Freitag, den 17.10.2008, 11:06 +0100 schrieb Rob Shearman:
> +typedef unsigned char uint8_t;
> +typedef unsigned short uint16_t;
> +typedef unsigned int uint32_t;

This probably works on all platforms Wine is designed for, but why don't
you use the autoconf provision for these types called AC_CREATE_STDINT_H
or AX_CREATE_STDINT_H to create "wine/stdint.h" (which will create a
one-liner including <stdint.h> on systems where it is available)?

Regards,
  Michael Karcher




More information about the wine-devel mailing list