Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
124ec122
Commit
124ec122
authored
Mar 03, 2009
by
Oswald Buddenhagen
Browse files
compile with C89 compilers
declarations go first ...
parent
ea1d5503
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/libs/utils/process_stub_win.c
View file @
124ec122
...
...
@@ -109,6 +109,7 @@ enum {
int
main
()
{
int
argc
;
int
creationFlags
;
wchar_t
**
argv
;
wchar_t
*
env
=
0
;
STARTUPINFOW
si
;
...
...
@@ -159,7 +160,7 @@ int main()
ZeroMemory
(
&
si
,
sizeof
(
si
));
si
.
cb
=
sizeof
(
si
);
int
creationFlags
=
CREATE_UNICODE_ENVIRONMENT
;
creationFlags
=
CREATE_UNICODE_ENVIRONMENT
;
if
(
!
wcscmp
(
argv
[
ArgAction
],
L"debug"
))
creationFlags
|=
DEBUG_ONLY_THIS_PROCESS
;
if
(
!
CreateProcessW
(
0
,
argv
[
ArgCmdLine
],
0
,
0
,
FALSE
,
creationFlags
,
env
,
0
,
&
si
,
&
pi
))
{
...
...
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