Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
LARN
PRRT
Commits
ba4533c2
Commit
ba4533c2
authored
Feb 15, 2018
by
Andreas Schmidt
Browse files
Conditional definition of MIN/MAX macros.
parent
6c388547
Pipeline
#1927
failed with stages
in 1 minute and 18 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
prrt/defines.h
View file @
ba4533c2
#ifndef PRRT_DEFINES_H
#define PRRT_DEFINES_H
#ifndef MAX
#define MAX(x, y) (((x) > (y)) ? (x) : (y))
#endif
#ifndef MIN
#define MIN(x, y) (((x) < (y)) ? (x) : (y))
#endif
#define PRRT_MAX_RECEIVER_COUNT 255
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment