Index: /trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibMisc.cpp
===================================================================
--- /trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibMisc.cpp	(revision 24687)
+++ /trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibMisc.cpp	(revision 24688)
@@ -225,4 +225,5 @@
 
 
+#ifdef RT_OS_WINDOWS
 /**
  * Looks up the storage path handle (registry).
@@ -277,4 +278,5 @@
     return RTErrConvertFromNtStatus(RegCloseKey(hKey));
 }
+#endif /* RT_OS_WINDOWS */ 
 
 
@@ -424,5 +426,5 @@
 #else
     /** @todo implement me */
-    rc = VINF_NOT_IMPLEMENTED;
+    rc = VERR_NOT_IMPLEMENTED;
 #endif
     return rc;
