Merge pull request #2216 from jwillemsen/jwi-cxxversionchecks
[ACE_TAO.git] / ACE / examples / APG / Logging / Wrap_Macros.cpp
blob65b4e031725729d349018a020811a8a69c72c29e
1 #include "Trace.h"
3 // Listing 1 code/ch03
4 void foo ();
6 int ACE_TMAIN (int, ACE_TCHAR *[])
8 ACE_TRACE ("main");
9 MY_DEBUG (ACE_TEXT ("Hi Mom\n"));
10 foo ();
11 MY_DEBUG (ACE_TEXT ("Goodnight\n"));
12 return 0;
15 void foo ()
17 ACE_TRACE ("foo");
18 MY_DEBUG (ACE_TEXT ("Howdy Pardner\n"));
20 // Listing 1