1 // Copyright 2008 Google Inc. 2 // Author: Lincoln Smith 3 // 4 // Licensed under the Apache License, Version 2.0 (the "License"); 5 // you may not use this file except in compliance with the License. 6 // You may obtain a copy of the License at 7 // 8 // http://www.apache.org/licenses/LICENSE-2.0 9 // 10 // Unless required by applicable law or agreed to in writing, software 11 // distributed under the License is distributed on an "AS IS" BASIS, 12 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 // See the License for the specific language governing permissions and 14 // limitations under the License. 15 // 16 // Replacement for the standard <stdint.h>, to be used only when the 17 // package is compiled using MS Visual Studio. 18 19 #ifndef OPEN_VCDIFF_STDINT_H_ 20 #define OPEN_VCDIFF_STDINT_H_ 21 22 typedef __int16 int16_t; 23 typedef __int32 int32_t; 24 typedef __int64 int64_t; 25 26 typedef unsigned __int16 uint16_t; 27 typedef unsigned __int32 uint32_t; 28 typedef unsigned __int64 uint64_t; 29 30 #endif // OPEN_VCDIFF_STDINT_H_ 31