loglevel debug is being used.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100153
13f79535-47bb-0310-9956-
ffa450edef68
#ifndef TPF
if (file && level_and_mask == APLOG_DEBUG) {
-#ifdef _OSD_POSIX
+#if defined(_OSD_POSIX) || defined(WIN32)
char tmp[256];
char *e = strrchr(file, '/');
+#ifdef WIN32
+ if (!e) {
+ e = strrchr(file, '\\');
+ }
+#endif
/* In OSD/POSIX, the compiler returns for __FILE__
* a string like: __FILE__="*POSIX(/usr/include/stdio.h)"