From Niels Sascha Reedijk <niels.reedijk@xxxxxxxxx>:
Niels Sascha Reedijk has uploaded this change for review. (
https://review.haiku-os.org/c/haiku/+/3670 ;)
Change subject: libshared.a: switch to experimental API in HaikuExt namespace
......................................................................
libshared.a: switch to experimental API in HaikuExt namespace
Switch to the experimental services API as the copy in libbnetapi.so is
deprecated.
---
M src/kits/shared/Geolocation.cpp
M src/kits/shared/Jamfile
2 files changed, 3 insertions(+), 3 deletions(-)
git pull ssh://git.haiku-os.org:22/haiku refs/changes/70/3670/1
diff --git a/src/kits/shared/Geolocation.cpp b/src/kits/shared/Geolocation.cpp
index 9698533..bfbebe3 100644
--- a/src/kits/shared/Geolocation.cpp
+++ b/src/kits/shared/Geolocation.cpp
@@ -17,6 +17,9 @@
#include <UrlRequest.h>
+using namespace HaikuExt;
+
+
namespace BPrivate {
diff --git a/src/kits/shared/Jamfile b/src/kits/shared/Jamfile
index b89d43b..d10c0a6 100644
--- a/src/kits/shared/Jamfile
+++ b/src/kits/shared/Jamfile
@@ -9,9 +9,6 @@
SubDirC++Flags [ FDefines HAVE_DEFAULT_GEOLOCATION_SERVICE_KEY ] ;
}
-# Use the deprecated libnetapi.so classes
-SubDirC++Flags [ FDefines LIBNETAPI_DEPRECATED ] ;
-
local architectureObject ;
for architectureObject in [ MultiArchSubDirSetup ] {
on $(architectureObject) {
--
To view, visit https://review.haiku-os.org/c/haiku/+/3670
To unsubscribe, or for help writing mail filters, visit
https://review.haiku-os.org/settings
Gerrit-Project: haiku
Gerrit-Branch: master
Gerrit-Change-Id: I6f5b1332eb87ad37dd33fbe09fdb11b16f7f26e4
Gerrit-Change-Number: 3670
Gerrit-PatchSet: 1
Gerrit-Owner: Niels Sascha Reedijk <niels.reedijk@xxxxxxxxx>
Gerrit-MessageType: newchange