mirror of https://github.com/BOINC/boinc.git
Fix stupid CRLF problems with the latest header file update.
svn path=/trunk/boinc/; revision=4789
This commit is contained in:
parent
164c643695
commit
fbff81f9d2
|
@ -80,7 +80,7 @@
|
|||
#include <sys/types.h>
|
||||
#include <fcntl.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
#if defined(__cplusplus)
|
||||
#include <cassert>
|
||||
#include <cctype>
|
||||
#include <cerrno>
|
||||
|
@ -104,9 +104,10 @@
|
|||
#include <time.h>
|
||||
#endif
|
||||
|
||||
|
||||
// C++ headers
|
||||
#ifdef __cplusplus
|
||||
//
|
||||
|
||||
#if defined(__cplusplus)
|
||||
#include <algorithm>
|
||||
#include <string>
|
||||
#include <iostream>
|
||||
|
|
|
@ -126,11 +126,13 @@ extern void boinc_set_signal_handler_force(int sig, void(*handler)(int));
|
|||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
extern int boinc_init_diagnostics(int flags);
|
||||
extern int boinc_finish_diag(void);
|
||||
extern int boinc_install_signal_handlers(void);
|
||||
extern int boinc_finish_diag();
|
||||
extern int boinc_install_signal_handlers();
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -39,11 +39,12 @@
|
|||
|
||||
#ifdef _WIN32
|
||||
|
||||
typedef struct DIR_DESC {
|
||||
typedef struct _DIR_DESC {
|
||||
char path[256];
|
||||
bool first;
|
||||
void* handle;
|
||||
};
|
||||
} DIR_DESC;
|
||||
|
||||
typedef DIR_DESC *DIRREF;
|
||||
#define PATH_SEPARATOR "\\"
|
||||
|
||||
|
|
Loading…
Reference in New Issue