Skip to content

Commit 25f65dd

Browse files
committed
More VC++ updates.
1 parent d606bbf commit 25f65dd

6 files changed

Lines changed: 8 additions & 13 deletions

File tree

cups/dnssd.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ cupsDNSSDBrowseNew(
401401

402402
#elif _WIN32
403403
DNS_STATUS status; // DNS request status
404-
size_t i, // Looping var
404+
int i, // Looping var
405405
count; // Number of types
406406
const char *base, // Base query name
407407
*subtype; // Subtype

cups/dnssd.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
#ifndef _CUPS_DNSSD_H_
1111
# define _CUPS_DNSSD_H_
1212
# include "cups.h"
13+
# include <stdint.h>
1314
# ifdef __cplusplus
1415
extern "C" {
1516
# endif // __cplusplus

cups/testdnssd.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
// information.
88
//
99

10+
#include <config.h>
1011
#include "test-internal.h"
1112
#include "dnssd.h"
1213
#include "thread.h"

vcnet/config.h

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Configuration file for CUPS on Windows.
33
*
4-
* Copyright © 2021-2024 by OpenPrinting
4+
* Copyright © 2021-2025 by OpenPrinting
55
* Copyright © 2007-2019 by Apple Inc.
66
* Copyright © 1997-2007 by Easy Software Products.
77
*
@@ -12,10 +12,6 @@
1212
#ifndef _CUPS_CONFIG_H_
1313
#define _CUPS_CONFIG_H_
1414

15-
/*
16-
* Include necessary headers...
17-
*/
18-
1915
#include <stdio.h>
2016
#include <stdlib.h>
2117
#include <string.h>
@@ -379,7 +375,7 @@ typedef unsigned long useconds_t;
379375
* Do we have mDNSResponder for DNS-SD?
380376
*/
381377

382-
#define HAVE_MDNSRESPONDER 1
378+
/* #undef HAVE_MDNSRESPONDER */
383379

384380

385381
/*

vcnet/cups.sln

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Microsoft Visual Studio Solution File, Format Version 12.00
2-
# Visual Studio 15
3-
VisualStudioVersion = 15.0.28010.2036
2+
# Visual Studio Version 16
3+
VisualStudioVersion = 16.0.35325.158
44
MinimumVisualStudioVersion = 10.0.40219.1
55
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "libcups2", "libcups2.vcxproj", "{CB4AA6F2-3E84-45BE-B505-95CD375E8BE3}"
66
EndProject
@@ -30,9 +30,6 @@ Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ipptool", "ipptool.vcxproj"
3030
EndProjectSection
3131
EndProject
3232
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "regex", "regex.vcxproj", "{18950A1B-D37A-40C7-B2DF-C12986C0526E}"
33-
ProjectSection(ProjectDependencies) = postProject
34-
{CB4AA6F2-3E84-45BE-B505-95CD375E8BE3} = {CB4AA6F2-3E84-45BE-B505-95CD375E8BE3}
35-
EndProjectSection
3633
EndProject
3734
Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "ippfind", "ippfind.vcxproj", "{B484DA0C-62C8-4C32-83B6-CCEB58968B85}"
3835
ProjectSection(ProjectDependencies) = postProject

vcnet/testdnssd.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@
102102
<ClCompile Include="..\cups\testdnssd.c" />
103103
</ItemGroup>
104104
<ItemGroup>
105-
<ProjectReference Include="libcups3.vcxproj">
105+
<ProjectReference Include="libcups2.vcxproj">
106106
<Project>{cb4aa6f2-3e84-45be-b505-95cd375e8be3}</Project>
107107
</ProjectReference>
108108
</ItemGroup>

0 commit comments

Comments
 (0)