From be9c961f2bf42f27cd29406c9db243e5650fc245 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Sun, 16 Feb 2003 23:53:03 +0000 Subject: [PATCH] Added definition of macro for R5 backwards compatibility (needed for our BSlider header). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2731 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/add-ons/translators/jpegtranslator/Jamfile | 2 ++ src/prefs/screen/Jamfile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/add-ons/translators/jpegtranslator/Jamfile b/src/add-ons/translators/jpegtranslator/Jamfile index 7998975de0..3b4affcb9e 100755 --- a/src/add-ons/translators/jpegtranslator/Jamfile +++ b/src/add-ons/translators/jpegtranslator/Jamfile @@ -3,6 +3,8 @@ SubDir OBOS_TOP src add-ons translators jpegtranslator ; # Let Jam know where to find some of our source files SEARCH_SOURCE += [ FDirName $(SUBDIR) libjpeg ] ; +SubDirC++Flags [ FDefines BEOS_R5_COMPATIBLE ] ; + Translator JPEGTranslator : # JPEGTranslator diff --git a/src/prefs/screen/Jamfile b/src/prefs/screen/Jamfile index dae8e66cb5..0d6ae44096 100644 --- a/src/prefs/screen/Jamfile +++ b/src/prefs/screen/Jamfile @@ -1,5 +1,7 @@ SubDir OBOS_TOP src prefs screen ; +SubDirC++Flags [ FDefines BEOS_R5_COMPATIBLE ] ; + AddResources Screen : Screen.rsrc ; Preference Screen : AlertView.cpp AlertWindow.cpp RefreshSlider.cpp RefreshView.cpp RefreshWindow.cpp Screen.cpp ScreenDrawView.cpp ScreenSettings.cpp ScreenView.cpp ScreenWindow.cpp Utility.cpp ;