Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
illuna-minetest
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
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
Illuna-Minetest
illuna-minetest
Commits
8bb8602c
Commit
8bb8602c
authored
11 years ago
by
sapier
Browse files
Options
Downloads
Patches
Plain Diff
Fix broken win32+bsd build
parent
fefec8cd
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/porting.h
+3
-3
3 additions, 3 deletions
src/porting.h
with
3 additions
and
3 deletions
src/porting.h
+
3
−
3
View file @
8bb8602c
...
...
@@ -278,13 +278,13 @@ inline void setThreadName(const char* name) {
* to add this feature please create a pull request.
* "setproctitle" doesn't work for threadnames.
*/
#define
setThreadName(
a)
inline
void
setThreadName
(
const
char
*
name
)
{}
#elif defined(_WIN32)
// threadnames are not supported on windows
#define
setThreadName(
a)
inline
void
setThreadName
(
const
char
*
name
)
{}
#else
#warning "Unknown platform for setThreadName support, you wont have threadname support."
#define
setThreadName(
a)
inline
void
setThreadName
(
const
char
*
name
)
{}
#endif
}
// namespace porting
...
...
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