Fixed problem caused by typedef int32 disappearing from winsock.h
This commit is contained in:
locka%iol.ie 1998-11-15 17:09:20 +00:00
Родитель 00d0714cb9
Коммит 096f6374b3
1 изменённых файлов: 33 добавлений и 2 удалений

Просмотреть файл

@ -1,3 +1,21 @@
/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
// stdafx.h : include file for standard system include files, // stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, // or project specific include files that are used frequently,
// but are changed infrequently // but are changed infrequently
@ -23,16 +41,25 @@ extern CComModule _Module;
#include <atlcom.h> #include <atlcom.h>
#include <atlctl.h> #include <atlctl.h>
#include <winsock2.h>
// STL headers // STL headers
#include <vector> #include <vector>
#include <string>
// New winsock2.h doesn't define this anymore
typedef long int32;
#include "jstypes.h"
#include "prtypes.h"
// Mozilla headers // Mozilla headers
//#define USE_NGPREF
#ifdef USE_NGPREF #ifdef USE_NGPREF
#include "nsIPref.h" #include "nsIPref.h"
#endif #endif
#include "prtypes.h"
#include "xp_core.h" #include "xp_core.h"
#include "jscompat.h" #include "jscompat.h"
@ -58,11 +85,15 @@ extern CComModule _Module;
// Mozilla control headers // Mozilla control headers
#include "resource.h" #include "resource.h"
// Define some string classes
typedef std::basic_string<TCHAR> tstring;
#include "BrowserDiagnostics.h" #include "BrowserDiagnostics.h"
#include "MozillaControl.h" #include "MozillaControl.h"
#include "MozillaBrowser.h" #include "MozillaBrowser.h"
#include "WebShellContainer.h" #include "WebShellContainer.h"
//{{AFX_INSERT_LOCATION}} //{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line. // Microsoft Developer Studio will insert additional declarations immediately before the previous line.