diff options
author | Lautis Sun <lautis0503@gmail.com> | 2016-07-07 15:30:05 +0300 |
---|---|---|
committer | Lautis Sun <lautis0503@gmail.com> | 2016-07-07 15:30:05 +0300 |
commit | 7f3b2f7706cda06b531f02edb048efefcd518d92 (patch) | |
tree | 7ea206c93de477fcac4468c5ec17c1bf6694e0ff /tinydir.h | |
parent | 58843e34ad6e3dd16282db63b490f472e4c84a3a (diff) |
Make sure that _UNICODE & UNICODE are both defined.
Diffstat (limited to 'tinydir.h')
-rw-r--r-- | tinydir.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -32,6 +32,14 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. extern "C" { #endif +#if ((defined _UNICODE) & !(defined UNICODE)) +#define UNICODE +#endif + +#if ((defined UNICODE) & !(defined _UNICODE)) +#define _UNICODE +#endif + #include <errno.h> #include <stdlib.h> #include <string.h> |