Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

curl_setup_once.h: definition of HAVE_CLOSE_S defines sclose() to clo…

…se_s()
  • Loading branch information...
commit 8d013420a0b84cf0ffb7d7cd507f0cf83eff61a4 1 parent c28e6d9
Gisle Vanem authored yangtse committed

Showing 1 changed file with 3 additions and 1 deletion. Show diff stats Hide diff stats

  1. +3 1 setup_once.h
4 setup_once.h
@@ -2,7 +2,7 @@
2 2 #define __SETUP_ONCE_H
3 3
4 4
5   -/* Copyright (C) 2004 - 2012 by Daniel Stenberg et al
  5 +/* Copyright (C) 2004 - 2013 by Daniel Stenberg et al
6 6 *
7 7 * Permission to use, copy, modify, and distribute this software and its
8 8 * documentation for any purpose and without fee is hereby granted, provided
@@ -260,6 +260,8 @@ struct timeval {
260 260 # define sclose(x) closesocket((x))
261 261 #elif defined(HAVE_CLOSESOCKET_CAMEL)
262 262 # define sclose(x) CloseSocket((x))
  263 +#elif defined(HAVE_CLOSE_S)
  264 +# define sclose(x) close_s((x))
263 265 #else
264 266 # define sclose(x) close((x))
265 267 #endif

0 comments on commit 8d01342

Please sign in to comment.
Something went wrong with that request. Please try again.