diff options
Diffstat (limited to 'pjlib/src/pj')
-rw-r--r-- | pjlib/src/pj/os_core_unix.c | 5 | ||||
-rw-r--r-- | pjlib/src/pj/os_core_win32.c | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/pjlib/src/pj/os_core_unix.c b/pjlib/src/pj/os_core_unix.c index 72e22ef1..a9d1ff5d 100644 --- a/pjlib/src/pj/os_core_unix.c +++ b/pjlib/src/pj/os_core_unix.c @@ -37,7 +37,7 @@ #include <pthread.h> -#define THIS_FILE "osunix" +#define THIS_FILE "os_core_unix.c" struct pj_thread_t { @@ -111,7 +111,8 @@ PJ_DEF(pj_status_t) pj_init(void) pj_str_t guid; pj_status_t rc; - PJ_LOG(5, ("pj_init", "Initializing PJ Library..")); + PJ_LOG(4, (THIS_FILE, "Initializing pjlib %s for Unix..", + PJ_VERSION)); #if PJ_HAS_THREADS /* Init this thread's TLS. */ diff --git a/pjlib/src/pj/os_core_win32.c b/pjlib/src/pj/os_core_win32.c index a7aee215..82155e0f 100644 --- a/pjlib/src/pj/os_core_win32.c +++ b/pjlib/src/pj/os_core_win32.c @@ -39,6 +39,8 @@ # include <winsock2.h> #endif +#define THIS_FILE "os_core_win32.c" + /* * Implementation of pj_thread_t. */ @@ -129,6 +131,9 @@ PJ_DEF(pj_status_t) pj_init(void) pj_str_t guid; pj_status_t rc; + PJ_LOG(4,(THIS_FILE, "Initializing pjlib %s for win32", + PJ_VERSION)); + /* Init Winsock.. */ if (WSAStartup(MAKEWORD(2,0), &wsa) != 0) { return PJ_RETURN_OS_ERROR(WSAGetLastError()); |