diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2019-04-25 18:18:31 +0200 |
---|---|---|
committer | Pali Rohár <pali.rohar@gmail.com> | 2019-04-25 18:18:31 +0200 |
commit | 04bbf2486da795d02e27833bf98a1bbf0188c42e (patch) | |
tree | 98c192706e67a904683a8a4278967e6f47c363ee /dlfcn.h | |
parent | 278c782a3205dbe49de4233b3bd1e68687a9998b (diff) | |
download | dlfcn-win32-04bbf2486da795d02e27833bf98a1bbf0188c42e.tar.gz dlfcn-win32-04bbf2486da795d02e27833bf98a1bbf0188c42e.tar.bz2 dlfcn-win32-04bbf2486da795d02e27833bf98a1bbf0188c42e.zip |
Simplify code around #ifdef UNICODE
The whole dlfcn.h API works with char* (ANSI) strings. For WINAPI UNICODE
builds it is still possible to call WINAPI ANSI functions with -A suffix.
E.g. LoadLibraryExA() instead of LoadLibraryEx() or FormatMessageA()
instead of FormatMessage().
This simplify whole implementation when compiling with UNICODE support as
there is no need to do conversion from wchar_t to char and vice-versa.
Diffstat (limited to 'dlfcn.h')
0 files changed, 0 insertions, 0 deletions