diff options
| author | 2009-10-28 17:57:52 +0100 | |
|---|---|---|
| committer | 2009-10-28 17:57:52 +0100 | |
| commit | 1bc333972bb5d5b45ba8908f1b12015300d88711 (patch) | |
| tree | d061424c0ba0390259ae092df68c9c7462e16315 /src/plist.h | |
| parent | a129688a888968286a30eeba7833629225c59fa0 (diff) | |
| download | libplist-1bc333972bb5d5b45ba8908f1b12015300d88711.tar.gz libplist-1bc333972bb5d5b45ba8908f1b12015300d88711.tar.bz2 | |
Fix build for MSVC9.
Diffstat (limited to 'src/plist.h')
| -rw-r--r-- | src/plist.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plist.h b/src/plist.h index 723ed87..b642d74 100644 --- a/src/plist.h +++ b/src/plist.h | |||
| @@ -29,6 +29,11 @@ | |||
| 29 | #include <sys/stat.h> | 29 | #include <sys/stat.h> |
| 30 | #include <glib.h> | 30 | #include <glib.h> |
| 31 | 31 | ||
| 32 | #ifdef _MSC_VER | ||
| 33 | #pragma warning(disable:4996) | ||
| 34 | #pragma warning(disable:4244) | ||
| 35 | #endif | ||
| 36 | |||
| 32 | 37 | ||
| 33 | struct plist_data_s { | 38 | struct plist_data_s { |
| 34 | union { | 39 | union { |
