mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-23 14:19:56 +00:00
8223188: Removed unnecessary #ifdef __cplusplus from .cpp sources
Reviewed-by: herrick, almatvee, iklam
This commit is contained in:
parent
05c6009eab
commit
699a3cde74
@ -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"
|
||||
Loading…
x
Reference in New Issue
Block a user