/
usr
/
include
/
mysql
/
/usr/include/mysql
mkdir
upload
Name
Size
Mode
Actions
mysql/
-
0755
rm
big_endian.h
4931
0644
edit
dl
rm
byte_order_generic.h
5620
0644
edit
dl
rm
byte_order_generic_x86.h
4710
0644
edit
dl
rm
byte_order_generic_x86_64.h
4468
0644
edit
dl
rm
decimal.h
5617
0644
edit
dl
rm
errmsg.h
4721
0644
edit
dl
rm
keycache.h
7502
0644
edit
dl
rm
little_endian.h
4115
0644
edit
dl
rm
mysql.h
29833
0644
edit
dl
rm
mysqld_ername.h
95816
0644
edit
dl
rm
mysqld_error.h
34839
0644
edit
dl
rm
mysql_com.h
24418
0644
edit
dl
rm
mysql_com_server.h
1737
0644
edit
dl
rm
mysql_embed.h
1609
0644
edit
dl
rm
mysql_time.h
2856
0644
edit
dl
rm
mysql_version.h
900
0644
edit
dl
rm
my_alloc.h
2628
0644
edit
dl
rm
my_attribute.h
2512
0644
edit
dl
rm
my_byteorder.h
2683
0644
edit
dl
rm
my_compiler.h
4940
0644
edit
dl
rm
my_config.h
17282
0644
edit
dl
rm
my_dbug.h
8908
0644
edit
dl
rm
my_dir.h
3997
0644
edit
dl
rm
my_getopt.h
6551
0644
edit
dl
rm
my_global.h
33805
0644
edit
dl
rm
my_list.h
2210
0644
edit
dl
rm
my_net.h
2489
0644
edit
dl
rm
my_pthread.h
31745
0644
edit
dl
rm
my_sys.h
41724
0644
edit
dl
rm
my_xml.h
3245
0644
edit
dl
rm
m_ctype.h
33915
0644
edit
dl
rm
m_string.h
9964
0644
edit
dl
rm
plugin.h
24625
0644
edit
dl
rm
plugin_audit.h
4564
0644
edit
dl
rm
plugin_ftparser.h
8013
0644
edit
dl
rm
plugin_validate_password.h
2000
0644
edit
dl
rm
sql_common.h
5403
0644
edit
dl
rm
sql_state.h
13331
0644
edit
dl
rm
sslopt-case.h
2075
0644
edit
dl
rm
sslopt-longopts.h
3090
0644
edit
dl
rm
sslopt-vars.h
1912
0644
edit
dl
rm
typelib.h
2986
0644
edit
dl
rm
Edit:
/usr/include/mysql/my_compiler.h
(4940B)
#ifndef MY_COMPILER_INCLUDED #define MY_COMPILER_INCLUDED /* Copyright (c) 2010, 2011, Oracle and/or its affiliates. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License, version 2.0, as published by the Free Software Foundation. This program is also distributed with certain software (including but not limited to OpenSSL) that is licensed under separate terms, as designated in a particular file or component or in included license documentation. The authors of MySQL hereby grant you an additional permission to link the program and your derivative works with the separately licensed software that they have included with MySQL. Without limiting anything contained in the foregoing, this file, which is part of C Driver for MySQL (Connector/C), is also subject to the Universal FOSS Exception, version 1.0, a copy of which can be found at http://oss.oracle.com/licenses/universal-foss-exception. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License, version 2.0, for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */ /** Header for compiler-dependent features. Intended to contain a set of reusable wrappers for preprocessor macros, attributes, pragmas, and any other features that are specific to a target compiler. */ #include <my_global.h> /* stddef.h offsetof */ /** Compiler-dependent internal convenience macros. */ /* GNU C/C++ */ #if defined __GNUC__ /* Convenience macro to test the minimum required GCC version. */ # define MY_GNUC_PREREQ(maj, min) \ ((__GNUC__ << 16) + __GNUC_MINOR__ >= ((maj) << 16) + (min)) /* Any after 2.95... */ # define MY_ALIGN_EXT /* Comunicate to the compiler the unreachability of the code. */ # if MY_GNUC_PREREQ(4,5) # define MY_ASSERT_UNREACHABLE() __builtin_unreachable() # endif /* Microsoft Visual C++ */ #elif defined _MSC_VER # define MY_ALIGNOF(type) __alignof(type) # define MY_ALIGNED(n) __declspec(align(n)) /* Oracle Solaris Studio */ #elif defined(__SUNPRO_C) || defined(__SUNPRO_CC) # if __SUNPRO_C >= 0x590 # define MY_ALIGN_EXT # endif /* IBM XL C/C++ */ #elif defined __xlC__ # if __xlC__ >= 0x0600 # define MY_ALIGN_EXT # endif /* HP aCC */ #elif defined(__HP_aCC) || defined(__HP_cc) # if (__HP_aCC >= 60000) || (__HP_cc >= 60000) # define MY_ALIGN_EXT # endif #endif #ifdef MY_ALIGN_EXT /** Specifies the minimum alignment of a type. */ # define MY_ALIGNOF(type) __alignof__(type) /** Determine the alignment requirement of a type. */ # define MY_ALIGNED(n) __attribute__((__aligned__((n)))) #endif /** Generic (compiler-independent) features. */ #ifndef MY_GNUC_PREREQ # define MY_GNUC_PREREQ(maj, min) (0) #endif #ifndef MY_ALIGNOF # ifdef __cplusplus template<typename type> struct my_alignof_helper { char m1; type m2; }; /* Invalid for non-POD types, but most compilers give the right answer. */ # define MY_ALIGNOF(type) offsetof(my_alignof_helper<type>, m2) # else # define MY_ALIGNOF(type) offsetof(struct { char m1; type m2; }, m2) # endif #endif #ifndef MY_ASSERT_UNREACHABLE # define MY_ASSERT_UNREACHABLE() do { assert(0); } while (0) #endif /** C++ Type Traits */ #ifdef __cplusplus /** Opaque storage with a particular alignment. */ # if defined(MY_ALIGNED) /* Partial specialization used due to MSVC++. */ template<size_t alignment> struct my_alignment_imp; template<> struct MY_ALIGNED(1) my_alignment_imp<1> {}; template<> struct MY_ALIGNED(2) my_alignment_imp<2> {}; template<> struct MY_ALIGNED(4) my_alignment_imp<4> {}; template<> struct MY_ALIGNED(8) my_alignment_imp<8> {}; template<> struct MY_ALIGNED(16) my_alignment_imp<16> {}; /* ... expand as necessary. */ # else template<size_t alignment> struct my_alignment_imp { double m1; }; # endif /** A POD type with a given size and alignment. @remark If the compiler does not support a alignment attribute (MY_ALIGN macro), the default alignment of a double is used instead. @tparam size The minimum size. @tparam alignment The desired alignment: 1, 2, 4, 8 or 16. */ template <size_t size, size_t alignment> struct my_aligned_storage { union { char data[size]; my_alignment_imp<alignment> align; }; }; #endif /* __cplusplus */ # ifndef MY_ALIGNED /* Make sure MY_ALIGNED can be used also on platforms where we don't have a way of aligning data structures. */ #define MY_ALIGNED(size) #endif #include <my_attribute.h> #endif /* MY_COMPILER_INCLUDED */
Save
cmd:
run