Fix stupid CRLF problems with the latest header file update.

svn path=/trunk/boinc/; revision=4789
This commit is contained in:
Rom Walton 2004-12-08 07:38:22 +00:00
parent 164c643695
commit fbff81f9d2
3 changed files with 11 additions and 7 deletions

View File

@ -80,7 +80,7 @@
#include <sys/types.h> #include <sys/types.h>
#include <fcntl.h> #include <fcntl.h>
#ifdef __cplusplus #if defined(__cplusplus)
#include <cassert> #include <cassert>
#include <cctype> #include <cctype>
#include <cerrno> #include <cerrno>
@ -104,9 +104,10 @@
#include <time.h> #include <time.h>
#endif #endif
// C++ headers // C++ headers
#ifdef __cplusplus //
#if defined(__cplusplus)
#include <algorithm> #include <algorithm>
#include <string> #include <string>
#include <iostream> #include <iostream>

View File

@ -126,11 +126,13 @@ extern void boinc_set_signal_handler_force(int sig, void(*handler)(int));
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
extern int boinc_init_diagnostics(int flags); extern int boinc_init_diagnostics(int flags);
extern int boinc_finish_diag(void); extern int boinc_finish_diag();
extern int boinc_install_signal_handlers(void); extern int boinc_install_signal_handlers();
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
#endif #endif

View File

@ -39,11 +39,12 @@
#ifdef _WIN32 #ifdef _WIN32
typedef struct DIR_DESC { typedef struct _DIR_DESC {
char path[256]; char path[256];
bool first; bool first;
void* handle; void* handle;
}; } DIR_DESC;
typedef DIR_DESC *DIRREF; typedef DIR_DESC *DIRREF;
#define PATH_SEPARATOR "\\" #define PATH_SEPARATOR "\\"