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 <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>
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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 "\\"
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue