|
|
|||
File indexing completed on 2026-04-17 08:35:04
0001 /* 0002 * Licensed to the Apache Software Foundation (ASF) under one 0003 * or more contributor license agreements. See the NOTICE file 0004 * distributed with this work for additional information 0005 * regarding copyright ownership. The ASF licenses this file 0006 * to you under the Apache License, Version 2.0 (the 0007 * "License"); you may not use this file except in compliance 0008 * with the License. You may obtain a copy of the License at 0009 * 0010 * http://www.apache.org/licenses/LICENSE-2.0 0011 * 0012 * Unless required by applicable law or agreed to in writing, 0013 * software distributed under the License is distributed on an 0014 * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 0015 * KIND, either express or implied. See the License for the 0016 * specific language governing permissions and limitations 0017 * under the License. 0018 */ 0019 0020 #ifndef _THRIFT_WINDOWS_FCNTL_H_ 0021 #define _THRIFT_WINDOWS_FCNTL_H_ 1 0022 0023 #if defined(_MSC_VER) && (_MSC_VER > 1200) 0024 #pragma once 0025 #endif // _MSC_VER 0026 0027 #ifndef _WIN32 0028 #error This is a MSVC header only. 0029 #endif 0030 0031 #ifdef _WIN32_WCE 0032 #include <string> 0033 #endif 0034 0035 // Win32 0036 #include <winsock2.h> 0037 #include <thrift/transport/PlatformSocket.h> 0038 0039 extern "C" { 0040 int thrift_fcntl(THRIFT_SOCKET fd, int cmd, int flags); 0041 } 0042 0043 #ifdef _WIN32_WCE 0044 std::string thrift_wstr2str(std::wstring ws); 0045 #endif 0046 0047 #endif // _THRIFT_WINDOWS_FCNTL_H_
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|