HCoop
/
clinton
/
Smoothieware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c99f8e7
)
moved the define for error() directly into Config.h, removing the dependency on the...
author
Logxen
<logxen@hotmail.com>
Wed, 9 May 2012 23:19:36 +0000
(16:19 -0700)
committer
Logxen
<logxen@hotmail.com>
Wed, 9 May 2012 23:19:36 +0000
(16:19 -0700)
src/libs/Config.h
patch
|
blob
|
blame
|
history
diff --git
a/src/libs/Config.h
b/src/libs/Config.h
index
472e7ba
..
cb7e977
100644
(file)
--- a/
src/libs/Config.h
+++ b/
src/libs/Config.h
@@
-10,12
+10,13
@@
#include "libs/Kernel.h"
#include "libs/utils.h"
#include "libs/Pin.h"
-#include "error.h" // mbed.h lib
+#define error(...) (fprintf(stderr, __VA_ARGS__), exit(1))
using namespace std;
#include <vector>
#include <string>
+#include <stdio.h>
#define config_get_checksum 46310
#define config_set_checksum 55538