mirror of
https://github.com/fltk/fltk.git
synced 2026-08-18 00:48:43 +08:00
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
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user