Add the missing conditional compilation

The Broker_recordFFDC() function definition is conditionally
compiled. So must be its declaration/prototype.
Signed-off-by: 's avatarGuilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
parent b0cf4c5e
...@@ -30,7 +30,10 @@ ...@@ -30,7 +30,10 @@
#include "Log.h" #include "Log.h"
#include "StackTrace.h" #include "StackTrace.h"
#include "Thread.h" #include "Thread.h"
#if defined(HEAP_UNIT_TESTS)
char* Broker_recordFFDC(char* symptoms); char* Broker_recordFFDC(char* symptoms);
#endif /* HEAP_UNIT_TESTS */
#include <memory.h> #include <memory.h>
#include <stdlib.h> #include <stdlib.h>
...@@ -477,4 +480,4 @@ int main(int argc, char *argv[]) ...@@ -477,4 +480,4 @@ int main(int argc, char *argv[])
return 0; return 0;
} }
#endif #endif /* HEAP_UNIT_TESTS */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment