Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Tor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Benjamin J. Thompson
Tor
Commits
1fc42db5
Commit
1fc42db5
authored
13 years ago
by
Sebastian Hahn
Committed by
Nick Mathewson
13 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Change WIN32 to _WIN32 in configure.in, too.
parent
79a80c88
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
configure.in
+7
-7
7 additions, 7 deletions
configure.in
with
7 additions
and
7 deletions
configure.in
+
7
−
7
View file @
1fc42db5
...
...
@@ -224,12 +224,12 @@ AC_ARG_WITH(tor-group,
AC_SUBST(TORGROUP)
dnl If WIN32 is defined and non-zero, we are building for win32
dnl If
_
WIN32 is defined and non-zero, we are building for win32
AC_MSG_CHECKING([for win32])
AC_RUN_IFELSE([AC_LANG_SOURCE([
int main(int c, char **v) {
#ifdef WIN32
#if WIN32
#ifdef
_
WIN32
#if
_
WIN32
return 0;
#else
return 1;
...
...
@@ -246,7 +246,7 @@ bwin32=cross; AC_MSG_RESULT([cross])
if test "$bwin32" = cross; then
AC_MSG_CHECKING([for win32 (cross)])
AC_COMPILE_IFELSE([AC_LANG_SOURCE([
#ifdef WIN32
#ifdef
_
WIN32
int main(int c, char **v) {return 0;}
#else
#error
...
...
@@ -377,19 +377,19 @@ if test "$enable_static_libevent" = "yes"; then
fi
TOR_SEARCH_LIBRARY(libevent, $trylibeventdir, [-levent $STATIC_LIBEVENT_FLAGS $TOR_LIB_WS32], [
#ifdef WIN32
#ifdef
_
WIN32
#include <winsock2.h>
#endif
#include <stdlib.h>
#include <sys/time.h>
#include <sys/types.h>
#include <event.h>], [
#ifdef WIN32
#ifdef
_
WIN32
#include <winsock2.h>
#endif
void exit(int); void *event_init(void);],
[
#ifdef WIN32
#ifdef
_
WIN32
{WSADATA d; WSAStartup(0x101,&d); }
#endif
event_init(); exit(0);
...
...
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