git.ucc.asn.au
/
matches
/
MCTX3420.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update titlepage to include supervisor stuff + proper name(??????)
[matches/MCTX3420.git]
/
server
/
common.h
diff --git
a/server/common.h
b/server/common.h
index
cc2ab3f
..
5eee7cc
100644
(file)
--- a/
server/common.h
+++ b/
server/common.h
@@
-10,7
+10,7
@@
#define _POSIX_C_SOURCE 200809L
//#define _BSD_SOURCE
#define _XOPEN_SOURCE 600
#define _POSIX_C_SOURCE 200809L
//#define _BSD_SOURCE
#define _XOPEN_SOURCE 600
-
+#define _GNU_SOURCE
/** Determine if we're running on the BBB **/
#ifdef __arm__
#define _BBB
/** Determine if we're running on the BBB **/
#ifdef __arm__
#define _BBB
@@
-21,6
+21,7
@@
/** The current API version **/
#define API_VERSION 0
/** The current API version **/
#define API_VERSION 0
+//#define REALTIME_VERSION
@@
-34,6
+35,7
@@
#include <assert.h>
#include <sys/time.h>
#include <time.h>
#include <assert.h>
#include <sys/time.h>
#include <time.h>
+#include <string.h>
#include "log.h"
#include "fastcgi.h"
#include "log.h"
#include "fastcgi.h"
@@
-49,7
+51,8
@@
(tv)->tv_nsec = ((value) - (int)(value))*1e9; \
}
(tv)->tv_nsec = ((value) - (int)(value))*1e9; \
}
-extern bool PathExists(const char * path);
+//extern bool PathExists(const char * path);
+extern bool DirExists(const char * path);
UCC
git Repository :: git.ucc.asn.au