Kaydet (Commit) b7a4e862 authored tarafından Yuri Dario's avatar Yuri Dario

#i118923# OS/2, use pmbidi header from dev toolkit.

üst ee129190
...@@ -61,6 +61,9 @@ extern "C" { ...@@ -61,6 +61,9 @@ extern "C" {
#include <os2.h> #include <os2.h>
#include <unikbd.h> #include <unikbd.h>
#ifdef VCL_OS2
#include <pmbidi.h>
#endif
#undef BOOL #undef BOOL
#undef BYTE #undef BYTE
......
...@@ -45,6 +45,12 @@ $(eval $(call gb_Library_set_include,vcl,\ ...@@ -45,6 +45,12 @@ $(eval $(call gb_Library_set_include,vcl,\
-I$(OUTDIR)/inc \ -I$(OUTDIR)/inc \
$$(FREETYPE_CFLAGS) \ $$(FREETYPE_CFLAGS) \
)) ))
ifeq ($(GUIBASE),os2)
$(eval $(call gb_Library_set_include,vcl,\
$$(INCLUDE) \
-idirafter /@unixroot/usr/dev/toolkit452/h \
))
endif
ifeq ($(GUIBASE),unx) ifeq ($(GUIBASE),unx)
$(eval $(call gb_Library_set_cxxflags,vcl,\ $(eval $(call gb_Library_set_cxxflags,vcl,\
$$(CXXFLAGS) \ $$(CXXFLAGS) \
......
...@@ -27,10 +27,6 @@ ...@@ -27,10 +27,6 @@
#include <vcl/sysdata.hxx> #include <vcl/sysdata.hxx>
#include <salframe.hxx> #include <salframe.hxx>
#ifndef PM_BIDI_INCLUDED
#include <pmbidi.h>
#endif
#ifndef __UCONV_H__ #ifndef __UCONV_H__
#include <uconv.h> #include <uconv.h>
#endif #endif
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#define INCL_DOS #define INCL_DOS
#define INCL_PM #define INCL_PM
#define INCL_WIN #define INCL_WIN
#define VCL_OS2
#include <svpm.h> #include <svpm.h>
#include <string.h> #include <string.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment