Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ademco_hb
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
captainwong
ademco_hb
Commits
e9182818
Commit
e9182818
authored
Aug 04, 2020
by
captainwong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
9e368a16
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
server_demo_libevent.cpp
examples/server_demo_libevent/server_demo_libevent.cpp
+3
-3
No files found.
examples/server_demo_libevent/server_demo_libevent.cpp
View file @
e9182818
...
...
@@ -29,7 +29,7 @@
#include <event2/thread.h>
#ifdef ENABLE_BREAKPAD
#if
ENABLE_BREAKPAD
#if
(ENABLE_BREAKPAD==1)
#ifdef _WIN32
#include <client/windows/handler/exception_handler.h>
static
bool
dumpCallback
(
const
wchar_t
*
dump_path
,
...
...
@@ -388,7 +388,7 @@ int main(int argc, char** argv)
return
-
1
;
}
#ifdef ENABLE_BREAKPAD
#if
ENABLE_BREAKPAD
#if
(ENABLE_BREAKPAD==1)
google_breakpad
::
ExceptionHandler
eh
(
L"./"
,
// dump_path
nullptr
,
// FilterCallback
dumpCallback
,
// MinidumpCallback
...
...
@@ -403,7 +403,7 @@ int main(int argc, char** argv)
return
-
1
;
}
#ifdef ENABLE_BREAKPAD
#if
ENABLE_BREAKPAD
#if
(ENABLE_BREAKPAD==1)
google_breakpad
::
ExceptionHandler
eh
(
google_breakpad
::
MinidumpDescriptor
(
"./"
),
nullptr
,
dumpCallback
,
nullptr
,
true
,
-
1
);
#endif
#endif
...
...
Write
Preview
Markdown
is supported
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