[Aceunit-commit] SF.net SVN: aceunit:[567] trunk/src/native/loggers/MiniRamLogger.c
Status: Beta
Brought to you by:
christianhujer
|
From: <chr...@us...> - 2011-02-15 07:46:23
|
Revision: 567
http://aceunit.svn.sourceforge.net/aceunit/?rev=567&view=rev
Author: christianhujer
Date: 2011-02-15 07:46:17 +0000 (Tue, 15 Feb 2011)
Log Message:
-----------
Fix include order because of size_t conflict.
Modified Paths:
--------------
trunk/src/native/loggers/MiniRamLogger.c
Modified: trunk/src/native/loggers/MiniRamLogger.c
===================================================================
--- trunk/src/native/loggers/MiniRamLogger.c 2011-02-15 00:11:52 UTC (rev 566)
+++ trunk/src/native/loggers/MiniRamLogger.c 2011-02-15 07:46:17 UTC (rev 567)
@@ -32,12 +32,6 @@
* @file MiniRamLogger.c
*/
-#include "AceUnit.h"
-#include "AceUnitLogging.h"
-#ifndef ACEUNIT_EMBEDDED
-#error "MiniRamLogger can only be used for ACEUNIT_EMBEDDED."
-#endif
-
#ifdef ACEUNIT_MINIRAMLOGGER_SAVE
#include <stdio.h>
#endif
@@ -48,6 +42,12 @@
#define ACEUNIT_MINIRAM_LOGGER_BUFSIZE 32
#endif
+#include "AceUnit.h"
+#include "AceUnitLogging.h"
+#ifndef ACEUNIT_EMBEDDED
+#error "MiniRamLogger can only be used for ACEUNIT_EMBEDDED."
+#endif
+
/** The number of valid logging elements in #data. */
// Linkage note: RAM.
size_t elementCount;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|