[mapguide-commits] r1205 - in trunk/MgDev: Common/Stylization Server/src/Common Server/src/Core

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue Mar 13 07:40:39 EDT 2007


Author: waltweltonlair
Date: 2007-03-13 07:40:39 -0400 (Tue, 13 Mar 2007)
New Revision: 1205

Removed:
   trunk/MgDev/Server/src/Common/ServerCommon.h
Modified:
   trunk/MgDev/Common/Stylization/stdafx.h
   trunk/MgDev/Server/src/Core/Makefile.am
   trunk/MgDev/Server/src/Core/main.cpp
Log:
Get rid of empty header file


Modified: trunk/MgDev/Common/Stylization/stdafx.h
===================================================================
--- trunk/MgDev/Common/Stylization/stdafx.h	2007-03-12 23:51:34 UTC (rev 1204)
+++ trunk/MgDev/Common/Stylization/stdafx.h	2007-03-13 11:40:39 UTC (rev 1205)
@@ -15,12 +15,18 @@
 //  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-//OS specific includes
+// OS specific includes
 #ifdef _WIN32
 
-#define WIN32_LEAN_AND_MEAN        // Exclude rarely-used stuff from Windows headers
+// Exclude rarely-used stuff from Windows headers.
+#define WIN32_LEAN_AND_MEAN
+
 // Windows Header Files:
 #include <windows.h>
+
+// for memory leak detection
+#define _CRTDBG_MAP_ALLOC
+#include <stdlib.h>
 #include <crtdbg.h>
 
 #else
@@ -39,10 +45,9 @@
 #include <math.h>
 #include <limits>
 
-//Stylization DLL export headers
+// Stylization DLL export headers
 #include "Stylization.h"
 
 
 #define rs_max(a,b)            (((a) > (b)) ? (a) : (b))
 #define rs_min(a,b)            (((a) < (b)) ? (a) : (b))
-

Deleted: trunk/MgDev/Server/src/Common/ServerCommon.h
===================================================================
--- trunk/MgDev/Server/src/Common/ServerCommon.h	2007-03-12 23:51:34 UTC (rev 1204)
+++ trunk/MgDev/Server/src/Common/ServerCommon.h	2007-03-13 11:40:39 UTC (rev 1205)
@@ -1,22 +0,0 @@
-//
-//  Copyright (C) 2004-2007 by Autodesk, Inc.
-//
-//  This library is free software; you can redistribute it and/or
-//  modify it under the terms of version 2.1 of the GNU Lesser
-//  General Public License as published by the Free Software Foundation.
-//
-//  This library is distributed in the hope that it will be useful,
-//  but WITHOUT ANY WARRANTY; without even the implied warranty of
-//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-//  Lesser General Public License for more details.
-//
-//  You should have received a copy of the GNU Lesser General Public
-//  License along with this library; if not, write to the Free Software
-//  Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
-//
-
-#ifndef MGSERVERCOMMON_H_
-#define MGSERVERCOMMON_H_
-
-
-#endif // MGSERVERCOMMON_H_

Modified: trunk/MgDev/Server/src/Core/Makefile.am
===================================================================
--- trunk/MgDev/Server/src/Core/Makefile.am	2007-03-12 23:51:34 UTC (rev 1204)
+++ trunk/MgDev/Server/src/Core/Makefile.am	2007-03-13 11:40:39 UTC (rev 1205)
@@ -76,8 +76,7 @@
   SessionTimeoutEventHandler.h \
   SignalHandler.h \
   TimedEvent.h \
-  TimedEventHandler.h \
-  ../Common/ServerCommon.h
+  TimedEventHandler.h
 
 mgserver_LDADD = \
   -lACE \

Modified: trunk/MgDev/Server/src/Core/main.cpp
===================================================================
--- trunk/MgDev/Server/src/Core/main.cpp	2007-03-12 23:51:34 UTC (rev 1204)
+++ trunk/MgDev/Server/src/Core/main.cpp	2007-03-13 11:40:39 UTC (rev 1205)
@@ -24,7 +24,10 @@
 
 using namespace XERCES_CPP_NAMESPACE;
 
+// for memory leak detection
 #ifdef WIN32
+#define _CRTDBG_MAP_ALLOC
+#include <stdlib.h>
 #include <crtdbg.h>
 #endif
 



More information about the mapguide-commits mailing list