зеркало из https://github.com/mozilla/pjs.git
Add nsFile* to Windows build
This commit is contained in:
Родитель
ab8387d464
Коммит
47cba1c029
|
@ -22,6 +22,8 @@ DEFINES = -D_IMPL_NS_BASE
|
|||
|
||||
EXPORTS = \
|
||||
nsISizeOfHandler.h \
|
||||
nsFileSpec.h \
|
||||
nsFileStream.h \
|
||||
$(NULL)
|
||||
|
||||
MODULE = raptor
|
||||
|
|
|
@ -36,6 +36,8 @@ CPPSRCS = \
|
|||
nsUnicharBuffer.cpp \
|
||||
nsUnicharInputStream.cpp \
|
||||
nsVoidArray.cpp \
|
||||
nsFileSpec.cpp \
|
||||
nsFileStream.cpp \
|
||||
$(NULL)
|
||||
|
||||
CPP_OBJS = \
|
||||
|
@ -51,6 +53,8 @@ CPP_OBJS = \
|
|||
.\$(OBJDIR)\nsUnicharBuffer.obj \
|
||||
.\$(OBJDIR)\nsUnicharInputStream.obj \
|
||||
.\$(OBJDIR)\nsVoidArray.obj \
|
||||
.\$(OBJDIR)\nsFileSpec.obj \
|
||||
.\$(OBJDIR)\nsFileStream.obj \
|
||||
$(NULL)
|
||||
|
||||
EXPORTS=nscore.h nsIArena.h nsIAtom.h nsIByteBuffer.h \
|
||||
|
@ -66,7 +70,7 @@ MODULE=raptor
|
|||
REQUIRES=xpcom netlib raptor
|
||||
|
||||
LINCS=-I$(PUBLIC)\xpcom -I$(PUBLIC)\netlib \
|
||||
-I$(PUBLIC)\raptor
|
||||
-I$(PUBLIC)\raptor
|
||||
|
||||
MAKE_OBJ_TYPE = DLL
|
||||
DLLNAME = raptorbase
|
||||
|
|
|
@ -156,7 +156,7 @@ char* nsFileSpecHelpers::GetLeaf(const char* inPath, char inSeparator)
|
|||
|
||||
|
||||
#if defined(XP_PC)
|
||||
#include "nsFileSpecWin.cpp" // Windows-specific implementations
|
||||
#include "windows/nsFileSpecWin.cpp" // Windows-specific implementations
|
||||
#elif defined(XP_MAC)
|
||||
#include "nsFileSpecMac.cpp" // Macintosh-specific implementations
|
||||
#elif defined(XP_UNIX)
|
||||
|
|
|
@ -34,6 +34,10 @@
|
|||
#include <Errors.h>
|
||||
#endif
|
||||
|
||||
#ifdef NS_USING_STL
|
||||
using std::endl;
|
||||
using std::cout;
|
||||
#endif
|
||||
|
||||
//========================================================================================
|
||||
// nsBasicFileStream
|
||||
|
|
|
@ -156,7 +156,7 @@ char* nsFileSpecHelpers::GetLeaf(const char* inPath, char inSeparator)
|
|||
|
||||
|
||||
#if defined(XP_PC)
|
||||
#include "nsFileSpecWin.cpp" // Windows-specific implementations
|
||||
#include "windows/nsFileSpecWin.cpp" // Windows-specific implementations
|
||||
#elif defined(XP_MAC)
|
||||
#include "nsFileSpecMac.cpp" // Macintosh-specific implementations
|
||||
#elif defined(XP_UNIX)
|
||||
|
|
|
@ -34,6 +34,10 @@
|
|||
#include <Errors.h>
|
||||
#endif
|
||||
|
||||
#ifdef NS_USING_STL
|
||||
using std::endl;
|
||||
using std::cout;
|
||||
#endif
|
||||
|
||||
//========================================================================================
|
||||
// nsBasicFileStream
|
||||
|
|
Загрузка…
Ссылка в новой задаче