]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
More VC++ updates.
authorMichael R Sweet <michael.r.sweet@gmail.com>
Tue, 18 Mar 2025 19:04:10 +0000 (15:04 -0400)
committerMichael R Sweet <michael.r.sweet@gmail.com>
Tue, 18 Mar 2025 19:04:10 +0000 (15:04 -0400)
cups/dnssd.c
cups/dnssd.h
cups/testdnssd.c
vcnet/config.h
vcnet/cups.sln
vcnet/testdnssd.vcxproj

index 696593e85454268fcf09535a4a2c079f5df43641..87e5bf8cd321afc9a755d81f71aac4ad01a7a469 100644 (file)
@@ -401,7 +401,7 @@ cupsDNSSDBrowseNew(
 
 #elif _WIN32
   DNS_STATUS   status;                 // DNS request status
-  size_t       i,                      // Looping var
+  int          i,                      // Looping var
                count;                  // Number of types
   const char   *base,                  // Base query name
                *subtype;               // Subtype
index f3388bc8bffd3f6d49c7b89adc8b999d077977a3..69012653a552a697197919325e192bbf92bdca6c 100644 (file)
@@ -10,6 +10,7 @@
 #ifndef _CUPS_DNSSD_H_
 #  define _CUPS_DNSSD_H_
 #  include "cups.h"
+#  include <stdint.h>
 #  ifdef __cplusplus
 extern "C" {
 #  endif // __cplusplus
index 6b6fd5e2260e027e75681950dc97303e8567b355..bdf4413c371caa2836f570b2caca305f15150250 100644 (file)
@@ -7,6 +7,7 @@
 // information.
 //
 
+#include <config.h>
 #include "test-internal.h"
 #include "dnssd.h"
 #include "thread.h"
index 93d22009317f1903b7b211de901d93632faa50e0..0f79779e4744f2abb20e5ef9ccbf66c57badc021 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Configuration file for CUPS on Windows.
  *
- * Copyright © 2021-2024 by OpenPrinting
+ * Copyright © 2021-2025 by OpenPrinting
  * Copyright © 2007-2019 by Apple Inc.
  * Copyright © 1997-2007 by Easy Software Products.
  *
 #ifndef _CUPS_CONFIG_H_
 #define _CUPS_CONFIG_H_
 
-/*
- * Include necessary headers...
- */
-
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
@@ -379,7 +375,7 @@ typedef unsigned long useconds_t;
  * Do we have mDNSResponder for DNS-SD?
  */
 
-#define HAVE_MDNSRESPONDER 1
+/* #undef HAVE_MDNSRESPONDER */
 
 
 /*
index 0556636367fcf69c7c965ea82fe2d0b7d600b04f..a6784d6565fab921e2c78e0981cc3add5d069c5e 100644 (file)
@@ -1,6 +1,6 @@
 Microsoft Visual Studio Solution File, Format Version 12.00\r
-# Visual Studio 15\r
-VisualStudioVersion = 15.0.28010.2036\r
+# Visual Studio Version 16\r
+VisualStudioVersion = 16.0.35325.158\r
 MinimumVisualStudioVersion = 10.0.40219.1\r
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcups2", "libcups2.vcxproj", "{CB4AA6F2-3E84-45BE-B505-95CD375E8BE3}"\r
 EndProject\r
@@ -30,9 +30,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ipptool", "ipptool.vcxproj"
        EndProjectSection\r
 EndProject\r
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "regex", "regex.vcxproj", "{18950A1B-D37A-40C7-B2DF-C12986C0526E}"\r
-       ProjectSection(ProjectDependencies) = postProject\r
-               {CB4AA6F2-3E84-45BE-B505-95CD375E8BE3} = {CB4AA6F2-3E84-45BE-B505-95CD375E8BE3}\r
-       EndProjectSection\r
 EndProject\r
 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ippfind", "ippfind.vcxproj", "{B484DA0C-62C8-4C32-83B6-CCEB58968B85}"\r
        ProjectSection(ProjectDependencies) = postProject\r
index e190a1560c24d8fcf3f57afc1e5dbf7a426e201d..7a95d9dd49ab53949bc58b6406f4884807725349 100644 (file)
     <ClCompile Include="..\cups\testdnssd.c" />
   </ItemGroup>
   <ItemGroup>
-    <ProjectReference Include="libcups3.vcxproj">
+    <ProjectReference Include="libcups2.vcxproj">
       <Project>{cb4aa6f2-3e84-45be-b505-95cd375e8be3}</Project>
     </ProjectReference>
   </ItemGroup>