Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
X
xpdevplus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Deucе
xpdevplus
Commits
307857f2
Commit
307857f2
authored
3 years ago
by
Stephen Hurd
Browse files
Options
Downloads
Patches
Plain Diff
Desketch _mkgmtime
parent
ca1dfac9
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
xpdev/CMakeLists.txt
+1
-1
1 addition, 1 deletion
xpdev/CMakeLists.txt
xpdev/datewrap.h
+1
-1
1 addition, 1 deletion
xpdev/datewrap.h
with
2 additions
and
2 deletions
xpdev/CMakeLists.txt
+
1
−
1
View file @
307857f2
...
@@ -124,7 +124,7 @@ if(HAS_DEV_MACHINE_SPKR_H)
...
@@ -124,7 +124,7 @@ if(HAS_DEV_MACHINE_SPKR_H)
endif
()
endif
()
if
(
WIN32
)
if
(
WIN32
)
target_compile_definitions
(
xpdev PUBLIC _WIN32 _WIN32_WINNT=0x0501 WINVER=0x0501 _WIN32_IE=0x0500
)
target_compile_definitions
(
xpdev PUBLIC _WIN32 _WIN32_WINNT=0x0501 WINVER=0x0501
MSVCRT_VERSION=0x0501
_WIN32_IE=0x0500
)
target_link_libraries
(
xpdev iphlpapi ws2_32 winmm netapi32
)
target_link_libraries
(
xpdev iphlpapi ws2_32 winmm netapi32
)
elseif
(
CMAKE_SYSTEM_NAME STREQUAL
"Haiku"
)
elseif
(
CMAKE_SYSTEM_NAME STREQUAL
"Haiku"
)
target_link_libraries
(
xpdev network m
)
target_link_libraries
(
xpdev network m
)
...
...
This diff is collapsed.
Click to expand it.
xpdev/datewrap.h
+
1
−
1
View file @
307857f2
...
@@ -57,7 +57,7 @@ DLLEXPORT struct tm* localtime32(const time32_t* t, struct tm* tm);
...
@@ -57,7 +57,7 @@ DLLEXPORT struct tm* localtime32(const time32_t* t, struct tm* tm);
/* Microsoft's equivalent of GLIBC/BSD timegm() */
/* Microsoft's equivalent of GLIBC/BSD timegm() */
#if defined(_MSC_VER) || defined(__MINGW32__)
#if defined(_MSC_VER) || defined(__MINGW32__)
#define timegm _mkgmtime
32
#define timegm _mkgmtime
#endif
#endif
/***********************************/
/***********************************/
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment