Skip to content
Permalink
Browse files
8223188: Removed unnecessary #ifdef __cplusplus from .cpp sources
Reviewed-by: herrick, almatvee, iklam
  • Loading branch information
Alexey Semenyuk committed Feb 9, 2021
1 parent 05c6009 commit 699a3cde74eac74fb54b2ade94d437c010449f89
@@ -68,9 +68,9 @@ std::wstring GetLongPath(const std::wstring& path) {

} // namespace

#ifdef __cplusplus

extern "C" {
#endif

#undef jdk_jpackage_internal_WindowsRegistry_HKEY_LOCAL_MACHINE
#define jdk_jpackage_internal_WindowsRegistry_HKEY_LOCAL_MACHINE 1L

@@ -216,6 +216,4 @@ extern "C" {
return JNI_FALSE;
}

#ifdef __cplusplus
}
#endif
} // extern "C"
@@ -30,9 +30,7 @@
#include "JniUtils.h"
#include "MsiDb.h"

#ifdef __cplusplus
extern "C" {
#endif

/*
* Class: jdk_jpackage_internal_ExecutableRebrander
@@ -159,6 +157,4 @@ extern "C" {
return 1;
}

#ifdef __cplusplus
}
#endif
} // extern "C"

1 comment on commit 699a3cd

@openjdk-notifier

This comment has been minimized.

Copy link

@openjdk-notifier openjdk-notifier bot commented on 699a3cd Feb 9, 2021

Please sign in to comment.