Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Luis Penaranda
panoramic
Commits
edc0406f
Commit
edc0406f
authored
Mar 06, 2013
by
Luis Penaranda
Browse files
bug in unix, missing brace
parent
6aa451bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
openglcanvas.cpp
View file @
edc0406f
...
@@ -29,8 +29,8 @@
...
@@ -29,8 +29,8 @@
#define OPEN_FILE open
#define OPEN_FILE open
#define LSEEK_FD lseek
#define LSEEK_FD lseek
#define FOPEN_RO(_descriptor,_filename) \
#define FOPEN_RO(_descriptor,_filename) \
(
_descriptor=fopen(_filename,"r")
)
; \
_descriptor=fopen(_filename,"r"); \
if((_descriptor)==NULL) \
if((_descriptor)==NULL)
{
\
fprintf(stderr,"unable to open file '%s'\n",_filename); \
fprintf(stderr,"unable to open file '%s'\n",_filename); \
exit(-1); \
exit(-1); \
}
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment