Ticket #137: 0001-Fixed-a-Visual-Studio-2008-build-error-in-tun.c.patch

File 0001-Fixed-a-Visual-Studio-2008-build-error-in-tun.c.patch, 668 bytes (added by Samuli Seppänen, 13 years ago)

Fix to tun.c build issue by cron2

  • tun.c

    From df2600205091d8d49638ec12e987a22a83bcb03c Mon Sep 17 00:00:00 2001
    From: Samuli Seppanen <samuli@openvpn.net>
    Date: Wed, 25 May 2011 06:01:04 -0700
    Subject: [PATCH] Fixed a Visual Studio 2008 build error in tun.c
    
    ---
     tun.c |    2 +-
     1 files changed, 1 insertions(+), 1 deletions(-)
    
    diff --git a/tun.c b/tun.c
    index 5a41cdf..f6dea88 100644
    a b init_tun_post (struct tuntap *tt, 
    572572#endif
    573573}
    574574
    575 #if defined(TARGET_WIN32) || \
     575#if defined(WIN32) || \
    576576    defined(TARGET_DARWIN) || defined(TARGET_NETBSD) || defined(TARGET_OPENBSD)
    577577
    578578/* some of the platforms will auto-add a "network route" pointing