Francois Gouget : atl: Protect atlwin.h against multiple inclusions.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Feb 6 08:03:33 CST 2007


Module: wine
Branch: master
Commit: a7f7812be943c54f0d289e32a2517ed3a7703ea8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=a7f7812be943c54f0d289e32a2517ed3a7703ea8

Author: Francois Gouget <fgouget at free.fr>
Date:   Tue Feb  6 10:19:16 2007 +0100

atl: Protect atlwin.h against multiple inclusions.

---

 dlls/atl/atlwin.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/dlls/atl/atlwin.h b/dlls/atl/atlwin.h
index 8a9357d..4bd1359 100644
--- a/dlls/atl/atlwin.h
+++ b/dlls/atl/atlwin.h
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
  */
 
+#ifndef __WINE_ATLWIN_H__
+#define __WINE_ATLWIN_H__
+
 typedef struct _ATL_WNDCLASSINFOA_TAG
 {
     WNDCLASSEXA m_wc;
@@ -46,3 +49,5 @@ ATOM WINAPI AtlModuleRegisterWndClassInf
 HDC WINAPI AtlCreateTargetDC(HDC hdc, DVTARGETDEVICE *ptd);
 void WINAPI AtlHiMetricToPixel(const SIZEL *lpSizeInHiMetric, LPSIZEL lpSizeInPix);
 void WINAPI AtlPixelToHiMetric(const SIZEL *lpSizeInPix, LPSIZEL lpSizeInHiMetric);
+
+#endif /* __WINE_ATLWIN_H__ */




More information about the wine-cvs mailing list