Mercurial > dwindows
comparison dw.h @ 1616:bbef5d25efa0
Removed the pragma... guess I misunderstood what the Visual C pragma did...
It seems to convert UTF-8 in the source into Unicode which is not what we want.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 26 Mar 2012 23:17:46 +0000 |
parents | 38da4aa23b7c |
children | 6fe1e91da477 |
comparison
equal
deleted
inserted
replaced
1615:38da4aa23b7c | 1616:bbef5d25efa0 |
---|---|
493 # define API APIENTRY __declspec(dllimport) | 493 # define API APIENTRY __declspec(dllimport) |
494 # endif | 494 # endif |
495 # else | 495 # else |
496 # define API _cdecl | 496 # define API _cdecl |
497 #endif | 497 #endif |
498 #endif | |
499 | |
500 /* With Visual C we need to make sure we are in UTF8 space | |
501 * to prevent compilation errors with UTF-8 encoded literals. | |
502 */ | |
503 #ifdef MSVC | |
504 #pragma execution_character_set("utf-8") | |
505 #endif | 498 #endif |
506 | 499 |
507 #define DW_DT_LEFT SS_LEFT | 500 #define DW_DT_LEFT SS_LEFT |
508 #define DW_DT_QUERYEXTENT 0 | 501 #define DW_DT_QUERYEXTENT 0 |
509 #define DW_DT_UNDERSCORE 0 | 502 #define DW_DT_UNDERSCORE 0 |