Remove unnecessary #pragma comment(lib, "advapi32.lib")
Build and Test / build-linux (push) Canceled after 0s
Build and Test / build-wayland (push) Canceled after 0s
Build and Test / build-wayland-arm64 (push) Canceled after 0s
Build and Test / build-macos (push) Canceled after 0s
Build and Test / build-windows (push) Canceled after 0s
Build and Test / build-windows-arm (push) Canceled after 0s

This pragma would only be used on VS builds and is not necessary
because advapi32.lib is linked by all Windows systems anyway.

Note: if it wouldn't, then our CMake files had to be fixed!
This commit is contained in:
Albrecht Schlosser
2026-07-18 14:15:07 +02:00
parent 0d06f26f66
commit 598096e508
+2 -3
View File
@@ -1,7 +1,7 @@
//
// Shell Command database coe for the Fast Light Tool Kit (FLTK).
// Shell Command database code for the Fast Light Tool Kit (FLTK).
//
// Copyright 1998-2025 by Bill Spitzak and others.
// Copyright 1998-2026 by Bill Spitzak and others.
//
// This library is free software. Distribution and use rights are outlined in
// the file "COPYING" which should have been included with this file. If this
@@ -115,7 +115,6 @@
#if defined(_WIN32) && !defined(__CYGWIN__)
# include <lmcons.h> // for UNLEN
# pragma comment(lib, "advapi32.lib")
#else
# include <pwd.h>
#endif