summaryrefslogtreecommitdiff
path: root/connectivity
diff options
context:
space:
mode:
authorTor Lillqvist <tlillqvist@novell.com>2011-05-21 16:26:08 +0300
committerTor Lillqvist <tlillqvist@novell.com>2011-05-21 16:26:08 +0300
commit11c71842f6d73f80cc40d2752421eec9af40bb51 (patch)
treed6de27d1d9e96bae92a6b7e7db3ce661b1582afb /connectivity
parent15083950a5c814dd5765ef49751a2700052a5a99 (diff)
Drop OS2
Diffstat (limited to 'connectivity')
-rwxr-xr-xconnectivity/source/dbtools/makefile.mk2
-rw-r--r--connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.hxx6
-rw-r--r--connectivity/source/drivers/mozab/bootstrap/MNSProfileManager.hxx6
-rwxr-xr-xconnectivity/source/drivers/mozab/bootstrap/makefile.mk5
-rwxr-xr-xconnectivity/source/drivers/mozab/makefile.mk2
-rwxr-xr-xconnectivity/source/drivers/mozab/mozillasrc/makefile.mk2
-rw-r--r--connectivity/source/drivers/odbc/OFunctions.cxx13
-rw-r--r--connectivity/source/inc/java/lang/Object.hxx5
-rw-r--r--connectivity/source/inc/odbc/OFunctiondefs.hxx8
-rw-r--r--connectivity/workben/iniParser/main.cxx2
-rw-r--r--connectivity/workben/little/main.cxx2
-rw-r--r--connectivity/workben/testmoz/main.cxx2
-rw-r--r--connectivity/workben/testmoz/mozthread.cxx2
13 files changed, 7 insertions, 50 deletions
diff --git a/connectivity/source/dbtools/makefile.mk b/connectivity/source/dbtools/makefile.mk
index 90237153de77..3e67ada06bd4 100755
--- a/connectivity/source/dbtools/makefile.mk
+++ b/connectivity/source/dbtools/makefile.mk
@@ -68,7 +68,7 @@ SHL1STDLIBS=\
# NETBSD: somewhere we have to instantiate the static data members.
# NETBSD-1.2.1 doesn't know about weak symbols so the default mechanism for GCC won't work.
# MACOSX: the linker does know about weak symbols, but we can't ignore multiple defined symbols
-.IF "$(OS)"=="NETBSD" || "$(OS)$(COM)"=="OS2GCC" || "$(OS)"=="MACOSX"
+.IF "$(OS)"=="NETBSD" || "$(OS)"=="MACOSX"
SHL1STDLIBS+=$(UCBHELPERLIB)
.ENDIF
diff --git a/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.hxx b/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.hxx
index 5cc807fceb11..e7fe48f05b18 100644
--- a/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.hxx
+++ b/connectivity/source/drivers/mozab/bootstrap/MNSProfileDiscover.hxx
@@ -44,12 +44,6 @@
#include <vector>
#include <map>
-#ifdef XP_OS2
-#define INCL_DOSERRORS
-#define INCL_DOSFILEMGR
-#include <os2.h>
-#endif
-
using namespace com::sun::star::mozilla;
namespace connectivity
{
diff --git a/connectivity/source/drivers/mozab/bootstrap/MNSProfileManager.hxx b/connectivity/source/drivers/mozab/bootstrap/MNSProfileManager.hxx
index 6e52c40b8f71..eed61b61d26d 100644
--- a/connectivity/source/drivers/mozab/bootstrap/MNSProfileManager.hxx
+++ b/connectivity/source/drivers/mozab/bootstrap/MNSProfileManager.hxx
@@ -42,12 +42,6 @@
#include <vector>
#include <map>
-#ifdef XP_OS2
-#define INCL_DOSERRORS
-#define INCL_DOSFILEMGR
-#include <os2.h>
-#endif
-
using namespace com::sun::star::mozilla;
class nsProfile;
namespace connectivity
diff --git a/connectivity/source/drivers/mozab/bootstrap/makefile.mk b/connectivity/source/drivers/mozab/bootstrap/makefile.mk
index b44436e488ce..c4c1d2110619 100755
--- a/connectivity/source/drivers/mozab/bootstrap/makefile.mk
+++ b/connectivity/source/drivers/mozab/bootstrap/makefile.mk
@@ -31,11 +31,6 @@ PRJINC=..$/..$/..
PRJNAME=connectivity
TARGET=mozbootstrap
-.IF "$(OS)" == "OS2"
-all:
- @echo " Not building under OS/2"
-.ENDIF
-
# --- Settings ----------------------------------
USE_DEFFILE=TRUE
diff --git a/connectivity/source/drivers/mozab/makefile.mk b/connectivity/source/drivers/mozab/makefile.mk
index 1928961b04b7..cefb6f9fb969 100755
--- a/connectivity/source/drivers/mozab/makefile.mk
+++ b/connectivity/source/drivers/mozab/makefile.mk
@@ -31,7 +31,7 @@ TARGET=mozab
TARGET2=$(TARGET)drv
VISIBILITY_HIDDEN=TRUE
-.IF ( "$(SYSTEM_MOZILLA)" == "YES" && "$(WITH_MOZILLA)" == "YES") || "$(WITH_MOZILLA)" == "NO" || ( "$(OS)" == "MACOSX" ) || ( "$(OS)" == "OS2" )
+.IF ( "$(SYSTEM_MOZILLA)" == "YES" && "$(WITH_MOZILLA)" == "YES") || "$(WITH_MOZILLA)" == "NO" || ( "$(OS)" == "MACOSX" )
all:
@echo " Not building the mozilla address book driver"
@echo " dependency to Mozilla developer snapshots not feasable at the moment"
diff --git a/connectivity/source/drivers/mozab/mozillasrc/makefile.mk b/connectivity/source/drivers/mozab/mozillasrc/makefile.mk
index 49c0bd8033a6..810be9bcb457 100755
--- a/connectivity/source/drivers/mozab/mozillasrc/makefile.mk
+++ b/connectivity/source/drivers/mozab/mozillasrc/makefile.mk
@@ -44,7 +44,7 @@ VISIBILITY_HIDDEN=TRUE
.INCLUDE : settings.mk
-.IF ("$(SYSTEM_MOZILLA)" == "YES" && "$(WITH_MOZILLA)" == "YES") || "$(WITH_MOZILLA)" == "NO" || "$(OS)" == "OS2"
+.IF ("$(SYSTEM_MOZILLA)" == "YES" && "$(WITH_MOZILLA)" == "YES") || "$(WITH_MOZILLA)" == "NO"
dummy:
@echo " Not building the mozillasrc stuff in LibreOffice build"
@echo " dependency to Mozilla developer snapshots not feasable at the moment"
diff --git a/connectivity/source/drivers/odbc/OFunctions.cxx b/connectivity/source/drivers/odbc/OFunctions.cxx
index 602ce5e935c9..9cc27a25d906 100644
--- a/connectivity/source/drivers/odbc/OFunctions.cxx
+++ b/connectivity/source/drivers/odbc/OFunctions.cxx
@@ -123,24 +123,11 @@ sal_Bool LoadLibrary_ODBC3(::rtl::OUString &_rPath)
_rPath = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("libodbc.so"));
#endif /* MACOSX */
#endif
-#ifdef OS2
- _rPath = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("ODBC"));
-#endif
if ( !pODBCso )
pODBCso = osl_loadModule( _rPath.pData,SAL_LOADMODULE_NOW );
if( !pODBCso)
-#ifdef OS2
- {
- delete pODBCso;
- _rPath = ::rtl::OUString(RTL_CONSTASCII_USTRINGPARAM("WOD402"));
- pODBCso = osl_loadModule( _rPath.pData,SAL_LOADMODULE_NOW );
- if( !pODBCso)
- return sal_False;
- }
-#else
return sal_False;
-#endif
return bLoaded = LoadFunctions(pODBCso);
}
diff --git a/connectivity/source/inc/java/lang/Object.hxx b/connectivity/source/inc/java/lang/Object.hxx
index 1fb37bd2cc23..01786287ee02 100644
--- a/connectivity/source/inc/java/lang/Object.hxx
+++ b/connectivity/source/inc/java/lang/Object.hxx
@@ -42,11 +42,6 @@
#ifdef HAVE_64BIT_POINTERS
#error "no 64 bit pointer"
-#else
-#ifdef OS2
-#define PVOID_TO_INT64(x) (jlong)(sal_Int32)x
-#define INT64_TO_PVOID(x) (void *)x
-#endif // OS2
#endif //HAVE_64BIT_POINTERS
namespace comphelper
diff --git a/connectivity/source/inc/odbc/OFunctiondefs.hxx b/connectivity/source/inc/odbc/OFunctiondefs.hxx
index bd53c4b55308..a53f07209349 100644
--- a/connectivity/source/inc/odbc/OFunctiondefs.hxx
+++ b/connectivity/source/inc/odbc/OFunctiondefs.hxx
@@ -61,14 +61,6 @@
//--------------------------------------------------------------------------
-#ifdef OS2
-#define ALLREADY_HAVE_OS2_TYPES
-#define DONT_TD_VOID
-#include <svpm.h>
-#include <odbc/sqlext.h>
-#define SDB_ODBC_CHAR UCHAR
-#endif // OS2
-
#ifdef OS2__00
#ifdef ODBCIMP
diff --git a/connectivity/workben/iniParser/main.cxx b/connectivity/workben/iniParser/main.cxx
index a994e2d6ff1c..692acde215a0 100644
--- a/connectivity/workben/iniParser/main.cxx
+++ b/connectivity/workben/iniParser/main.cxx
@@ -180,7 +180,7 @@ public:
};
-#if (defined UNX) || (defined OS2)
+#if (defined UNX)
int main( int argc, char * argv[] )
#else
int _cdecl main( int argc, char * argv[] )
diff --git a/connectivity/workben/little/main.cxx b/connectivity/workben/little/main.cxx
index 2123a22fd69a..8ae9926c9377 100644
--- a/connectivity/workben/little/main.cxx
+++ b/connectivity/workben/little/main.cxx
@@ -55,7 +55,7 @@ using namespace cppu;
using ::rtl::OUString;
-#if (defined UNX) || (defined OS2)
+#if (defined UNX)
void main( int argc, char * argv[] )
#else
void _cdecl main( int argc, char * argv[] )
diff --git a/connectivity/workben/testmoz/main.cxx b/connectivity/workben/testmoz/main.cxx
index deca6f637ab4..86e991e128e1 100644
--- a/connectivity/workben/testmoz/main.cxx
+++ b/connectivity/workben/testmoz/main.cxx
@@ -634,7 +634,7 @@ void menuMain()
PRINTSTR("4 Open OE Address Book\n")
PRINTSTR("Please Input your choice:")
}
-#if (defined UNX) || (defined OS2)
+#if (defined UNX)
int main( int argc, char * argv[] )
#else
int _cdecl main( int argc, char * argv[] )
diff --git a/connectivity/workben/testmoz/mozthread.cxx b/connectivity/workben/testmoz/mozthread.cxx
index 087d0640f5ba..9286ec1695a6 100644
--- a/connectivity/workben/testmoz/mozthread.cxx
+++ b/connectivity/workben/testmoz/mozthread.cxx
@@ -406,7 +406,7 @@ void usage()
PRINTLN("-e test outlook express");
PRINTLN("0 < threadcount <= 100, default 100");
}
-#if (defined UNX) || (defined OS2)
+#if (defined UNX)
int main( int argc, char * argv[] )
#else
int _cdecl main( int argc, char * argv[] )