osaf/libs/core/include/ncs_osprm.h |  8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)


diff --git a/osaf/libs/core/include/ncs_osprm.h 
b/osaf/libs/core/include/ncs_osprm.h
--- a/osaf/libs/core/include/ncs_osprm.h
+++ b/osaf/libs/core/include/ncs_osprm.h
@@ -798,6 +798,14 @@ uint32_t ncs_os_posix_mq(NCS_OS_POSIX_MQ
  ****************************************************************************/
 #define m_NCS_OS_GET_TIME_STAMP(timestamp) timestamp=time((time_t*)0)
 
+#ifndef m_GET_ASCII_DATE_TIME_STAMP
+#define m_GET_ASCII_DATE_TIME_STAMP(timestamp, asc_timestamp)  \
+{ \
+    timestamp=(time_t) (time((time_t *) 0)); \
+    strftime((char *)(asc_timestamp), 40, "%d%b%Y_%H.%M.%S", 
localtime(&timestamp)); \
+}
+#endif
+
 
 /****************************************************************************
  **                                                                        **

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to