diff options
| author | 2009-10-28 17:57:52 +0100 | |
|---|---|---|
| committer | 2009-10-28 17:57:52 +0100 | |
| commit | 1bc333972bb5d5b45ba8908f1b12015300d88711 (patch) | |
| tree | d061424c0ba0390259ae092df68c9c7462e16315 /test/plist_cmp.c | |
| parent | a129688a888968286a30eeba7833629225c59fa0 (diff) | |
| download | libplist-1bc333972bb5d5b45ba8908f1b12015300d88711.tar.gz libplist-1bc333972bb5d5b45ba8908f1b12015300d88711.tar.bz2 | |
Fix build for MSVC9.
Diffstat (limited to 'test/plist_cmp.c')
| -rw-r--r-- | test/plist_cmp.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/plist_cmp.c b/test/plist_cmp.c index 1a66119..386264a 100644 --- a/test/plist_cmp.c +++ b/test/plist_cmp.c | |||
| @@ -27,6 +27,10 @@ | |||
| 27 | #include <string.h> | 27 | #include <string.h> |
| 28 | #include <sys/stat.h> | 28 | #include <sys/stat.h> |
| 29 | 29 | ||
| 30 | #ifdef _MSC_VER | ||
| 31 | #pragma warning(disable:4996) | ||
| 32 | #endif | ||
| 33 | |||
| 30 | char compare_plist(plist_t node_l, plist_t node_r) | 34 | char compare_plist(plist_t node_l, plist_t node_r) |
| 31 | { | 35 | { |
| 32 | plist_t cur_l = NULL; | 36 | plist_t cur_l = NULL; |
