Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Rentz-Reichert2019-04-05 10:30:45 +0000
committerHenrik Rentz-Reichert2019-04-26 17:07:27 +0000
commit5304c038dc6ad38868064cd7fa84d5bd89dcc931 (patch)
treee721e75b2362d802937dd302168181fbeabea29a /runtime/org.eclipse.etrice.runtime.c/src/platforms
parent636465baf602e2bc9ea0b6ae89c2bb255306eaaf (diff)
downloadorg.eclipse.etrice-5304c038dc6ad38868064cd7fa84d5bd89dcc931.tar.gz
org.eclipse.etrice-5304c038dc6ad38868064cd7fa84d5bd89dcc931.tar.xz
org.eclipse.etrice-5304c038dc6ad38868064cd7fa84d5bd89dcc931.zip
Bug 546142 - etRuntime should give access to message service statistics
* equipped message service with a name * runtime allows access to message service statistics * runtime allows to reset all message service statistics Change-Id: I807dfd47883f53f5123c92734056d2cc5c346172
Diffstat (limited to 'runtime/org.eclipse.etrice.runtime.c/src/platforms')
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_WIN_MinGW/etDatatypes.h1
-rw-r--r--runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_WIN_MinGW/etLogger.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_WIN_MinGW/etDatatypes.h b/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_WIN_MinGW/etDatatypes.h
index 9910144ac..5f5446a2d 100644
--- a/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_WIN_MinGW/etDatatypes.h
+++ b/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_WIN_MinGW/etDatatypes.h
@@ -30,6 +30,7 @@ extern "C" {
#include <stdio.h>
+#undef WINVER
#define WINVER 0x0500
#include <windows.h>
diff --git a/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_WIN_MinGW/etLogger.c b/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_WIN_MinGW/etLogger.c
index e77de8e17..243a25688 100644
--- a/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_WIN_MinGW/etLogger.c
+++ b/runtime/org.eclipse.etrice.runtime.c/src/platforms/MT_WIN_MinGW/etLogger.c
@@ -76,5 +76,5 @@ void etLogger_fprintf(etFileHandle file, const char* format, ... ){
va_start( arglist, format );
vfprintf(file, format, arglist );
va_end( arglist );
- fflush(stdout);
+ fflush(file);
}

Back to the top