Mercurial > libpst
comparison src/readpst.c @ 212:8e17efed33c1
patch from Fridrich Strba to build on win32
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 08 Jun 2009 13:51:24 -0700 |
parents | 94bde95d7e18 |
children | 4a659f3138b7 |
comparison
equal
deleted
inserted
replaced
211:94bde95d7e18 | 212:8e17efed33c1 |
---|---|
464 | 464 |
465 #ifdef DEBUG_ALL | 465 #ifdef DEBUG_ALL |
466 // force a log file | 466 // force a log file |
467 if (!d_log) d_log = "readpst.log"; | 467 if (!d_log) d_log = "readpst.log"; |
468 #endif // defined DEBUG_ALL | 468 #endif // defined DEBUG_ALL |
469 DEBUG_INIT(d_log, output_mutex); | 469 #ifdef HAVE_SEMAPHORE_H |
470 DEBUG_INIT(d_log, output_mutex); | |
471 #else | |
472 DEBUG_INIT(d_log, NULL); | |
473 #endif | |
470 DEBUG_ENT("main"); | 474 DEBUG_ENT("main"); |
471 | 475 |
472 if (output_mode != OUTPUT_QUIET) printf("Opening PST file and indexes...\n"); | 476 if (output_mode != OUTPUT_QUIET) printf("Opening PST file and indexes...\n"); |
473 | 477 |
474 RET_DERROR(pst_open(&pstfile, fname), 1, ("Error opening File\n")); | 478 RET_DERROR(pst_open(&pstfile, fname), 1, ("Error opening File\n")); |