aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/ref/migrate/nng1.md1
-rw-r--r--include/nng/supplemental/util/platform.h18
-rw-r--r--src/supplemental/util/CMakeLists.txt5
3 files changed, 3 insertions, 21 deletions
diff --git a/docs/ref/migrate/nng1.md b/docs/ref/migrate/nng1.md
index 584a0f00..e6d6d820 100644
--- a/docs/ref/migrate/nng1.md
+++ b/docs/ref/migrate/nng1.md
@@ -41,6 +41,7 @@ Simply remove any references to them.
- `nng/protocol/survey0/respond.h`
- `nng/protocol/survey0/survey.h`
- `nng/supplemental/tls/tls.h`
+- `nng/supplemental/util/platform.h`
- `nng/transport/inproc/inproc.h`
- `nng/transport/ipc/ipc.h`
- `nng/transport/tcp/tcp.h`
diff --git a/include/nng/supplemental/util/platform.h b/include/nng/supplemental/util/platform.h
deleted file mode 100644
index 84286388..00000000
--- a/include/nng/supplemental/util/platform.h
+++ /dev/null
@@ -1,18 +0,0 @@
-//
-// Copyright 2024 Staysail Systems, Inc. <info@staysail.tech>
-//
-// This software is supplied under the terms of the MIT License, a
-// copy of which should be located in the distribution where this
-// file was obtained (LICENSE.txt). A copy of the license may also be
-// found online at https://opensource.org/licenses/MIT.
-//
-
-#ifndef NNG_SUPPLEMENTAL_UTIL_PLATFORM_H
-#define NNG_SUPPLEMENTAL_UTIL_PLATFORM_H
-
-// The declarations in this file have been relocated to <nng/nng.h>.
-// This file itself is deprecated, and applications should stop including
-// it directly.
-#include <nng/nng.h>
-
-#endif // NNG_SUPPLEMENTAL_UTIL_PLATFORM_H
diff --git a/src/supplemental/util/CMakeLists.txt b/src/supplemental/util/CMakeLists.txt
index edae518e..69afd9e0 100644
--- a/src/supplemental/util/CMakeLists.txt
+++ b/src/supplemental/util/CMakeLists.txt
@@ -1,5 +1,5 @@
#
-# Copyright 2024 Staysail Systems, Inc. <info@staysail.tech>
+# Copyright 2025 Staysail Systems, Inc. <info@staysail.tech>
#
# This software is supplied under the terms of the MIT License, a
# copy of which should be located in the distribution where this
@@ -10,7 +10,6 @@
nng_sources(idhash.c options.c)
nng_headers(
nng/supplemental/util/idhash.h
- nng/supplemental/util/options.h
- nng/supplemental/util/platform.h)
+ nng/supplemental/util/options.h)
nng_test(idhash_test)
nng_test(options_test)