mysql_embed.h 1.5 KB

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef MYSQL_EMBED_INCLUDED
  2. #define MYSQL_EMBED_INCLUDED
  3. /* Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved.
  4. This program is free software; you can redistribute it and/or modify
  5. it under the terms of the GNU General Public License, version 2.0,
  6. as published by the Free Software Foundation.
  7. This program is also distributed with certain software (including
  8. but not limited to OpenSSL) that is licensed under separate terms,
  9. as designated in a particular file or component or in included license
  10. documentation. The authors of MySQL hereby grant you an additional
  11. permission to link the program and your derivative works with the
  12. separately licensed software that they have included with MySQL.
  13. This program is distributed in the hope that it will be useful,
  14. but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. GNU General Public License, version 2.0, for more details.
  17. You should have received a copy of the GNU General Public License
  18. along with this program; if not, write to the Free Software
  19. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
  20. /* Defines that are unique to the embedded version of MySQL */
  21. #ifdef EMBEDDED_LIBRARY
  22. /* Things we don't need in the embedded version of MySQL */
  23. /* TODO HF add #undef HAVE_VIO if we don't want client in embedded library */
  24. #undef HAVE_DLOPEN /* No udf functions */
  25. #endif /* EMBEDDED_LIBRARY */
  26. #endif /* MYSQL_EMBED_INCLUDED */