summaryrefslogtreecommitdiff
path: root/ACE/ace/Configuration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Configuration.cpp')
-rw-r--r--ACE/ace/Configuration.cpp12
1 files changed, 0 insertions, 12 deletions
diff --git a/ACE/ace/Configuration.cpp b/ACE/ace/Configuration.cpp
index 01e10fc9c0c..56cb81fd8ea 100644
--- a/ACE/ace/Configuration.cpp
+++ b/ACE/ace/Configuration.cpp
@@ -966,11 +966,7 @@ ACE_Configuration_Win32Registry::resolve_key (HKEY hKey,
HKEY result = 0;
// Make a copy of hKey
int errnum;
-#if defined (ACE_HAS_WINCE)
- if ((errnum = RegOpenKeyEx (hKey, 0, 0, 0, &result)) != ERROR_SUCCESS)
-#else
if ((errnum = RegOpenKey (hKey, 0, &result)) != ERROR_SUCCESS)
-#endif // ACE_HAS_WINCE
{
errno = errnum;
return 0;
@@ -994,17 +990,9 @@ ACE_Configuration_Win32Registry::resolve_key (HKEY hKey,
// Open the key
HKEY subkey;
-#if defined (ACE_HAS_WINCE)
- if ((errnum = ACE_TEXT_RegOpenKeyEx (result,
- temp,
- 0,
- 0,
- &subkey)) != ERROR_SUCCESS)
-#else
if ((errnum = ACE_TEXT_RegOpenKey (result,
temp,
&subkey)) != ERROR_SUCCESS)
-#endif // ACE_HAS_WINCE
{
// try creating it
if (!create || (errnum = ACE_TEXT_RegCreateKeyEx (result,