10d4c52358a1af421705c54bd8a9fdd8a30558a2eAlexander Gutkin/*
20d4c52358a1af421705c54bd8a9fdd8a30558a2eAlexander Gutkin * Copyright 2011 Google Inc. All Rights Reserved.
30d4c52358a1af421705c54bd8a9fdd8a30558a2eAlexander Gutkin *
40d4c52358a1af421705c54bd8a9fdd8a30558a2eAlexander Gutkin * Licensed under the Apache License, Version 2.0 (the "License");
50d4c52358a1af421705c54bd8a9fdd8a30558a2eAlexander Gutkin * you may not use this file except in compliance with the License.
60d4c52358a1af421705c54bd8a9fdd8a30558a2eAlexander Gutkin * You may obtain a copy of the License at
70d4c52358a1af421705c54bd8a9fdd8a30558a2eAlexander Gutkin *
80d4c52358a1af421705c54bd8a9fdd8a30558a2eAlexander Gutkin *      http://www.apache.org/licenses/LICENSE-2.0
90d4c52358a1af421705c54bd8a9fdd8a30558a2eAlexander Gutkin *
100d4c52358a1af421705c54bd8a9fdd8a30558a2eAlexander Gutkin * Unless required by applicable law or agreed to in writing, software
110d4c52358a1af421705c54bd8a9fdd8a30558a2eAlexander Gutkin * distributed under the License is distributed on an "AS IS" BASIS,
120d4c52358a1af421705c54bd8a9fdd8a30558a2eAlexander Gutkin * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
130d4c52358a1af421705c54bd8a9fdd8a30558a2eAlexander Gutkin * See the License for the specific language governing permissions and
140d4c52358a1af421705c54bd8a9fdd8a30558a2eAlexander Gutkin * limitations under the License.
150d4c52358a1af421705c54bd8a9fdd8a30558a2eAlexander Gutkin */
160d4c52358a1af421705c54bd8a9fdd8a30558a2eAlexander Gutkin
170d4c52358a1af421705c54bd8a9fdd8a30558a2eAlexander Gutkin#ifndef SFNTLY_CPP_SRC_SFNTLY_PORT_CONFIG_H_
180d4c52358a1af421705c54bd8a9fdd8a30558a2eAlexander Gutkin#define SFNTLY_CPP_SRC_SFNTLY_PORT_CONFIG_H_
190d4c52358a1af421705c54bd8a9fdd8a30558a2eAlexander Gutkin
200d4c52358a1af421705c54bd8a9fdd8a30558a2eAlexander Gutkin#if !defined(SFNTLY_BIG_ENDIAN) && !defined(SFNTLY_LITTLE_ENDIAN)
210d4c52358a1af421705c54bd8a9fdd8a30558a2eAlexander Gutkin  #if defined (__ppc__) || defined (__ppc64__)
220d4c52358a1af421705c54bd8a9fdd8a30558a2eAlexander Gutkin    #define SFNTLY_BIG_ENDIAN
230d4c52358a1af421705c54bd8a9fdd8a30558a2eAlexander Gutkin  #else
240d4c52358a1af421705c54bd8a9fdd8a30558a2eAlexander Gutkin    #define SFNTLY_LITTLE_ENDIAN
250d4c52358a1af421705c54bd8a9fdd8a30558a2eAlexander Gutkin  #endif
260d4c52358a1af421705c54bd8a9fdd8a30558a2eAlexander Gutkin#endif
270d4c52358a1af421705c54bd8a9fdd8a30558a2eAlexander Gutkin
280d4c52358a1af421705c54bd8a9fdd8a30558a2eAlexander Gutkin#endif  // SFNTLY_CPP_SRC_SFNTLY_PORT_CONFIG_H_
290d4c52358a1af421705c54bd8a9fdd8a30558a2eAlexander Gutkin