diff options
Diffstat (limited to 'vcl/unx/inc/prex.h')
-rw-r--r-- | vcl/unx/inc/prex.h | 23 |
1 files changed, 16 insertions, 7 deletions
diff --git a/vcl/unx/inc/prex.h b/vcl/unx/inc/prex.h index 8215a5721307..8c2f3003272f 100644 --- a/vcl/unx/inc/prex.h +++ b/vcl/unx/inc/prex.h @@ -2,9 +2,9 @@ * * $RCSfile: prex.h,v $ * - * $Revision: 1.4 $ + * $Revision: 1.5 $ * - * last change: $Author: oisin $ $Date: 2001-01-23 17:18:57 $ + * last change: $Author: oisin $ $Date: 2001-01-31 14:59:28 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -62,7 +62,7 @@ // // // (C) 1997 Star Division GmbH, Hamburg, Germany // // // -// $Revision: 1.4 $ $Author: oisin $ $Date: 2001-01-23 17:18:57 $ // +// $Revision: 1.5 $ $Author: oisin $ $Date: 2001-01-31 14:59:28 $ // // // // $Workfile: prex.h $ // // $Modtime: 08 Aug 1997 10:13:54 $ // @@ -134,10 +134,19 @@ extern "C" { #define __Ol_OlXlibExt_h__ -#if !defined(USE_PSPRINT) -#include <salpdecl.h> -#include <salpmacr.h> -#endif /* !USE_PSPRINT */ +#if !defined(_USE_PRINT_EXTENSION_) + #include <salpdecl.h> + #include <salpmacr.h> +#else + #include <X11/X.h> + #include <X11/Xlib.h> + #include <X11/Xutil.h> + #include <X11/Intrinsic.h> + + Bool XSalIsDisplay( Display *p_display ); + Bool XSalIsPrinter( Display *p_display ); + Display* GetXpDisplay(); +#endif #endif |