]> git.proxmox.com Git - mirror_edk2.git/blobdiff - AppPkg/Applications/Python/X64/pyconfig.h
AppPkg/Applications/Python: Get Python startup process fully working for EDK II.
[mirror_edk2.git] / AppPkg / Applications / Python / X64 / pyconfig.h
index 41b06827f577bd5f680d7a75e6c43767b832d2d2..ef95d1be62712ebe4f6ca5036d4fe97417fc9225 100644 (file)
     THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
     WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
 **/\r
-\r
-\r
 #ifndef Py_PYCONFIG_H\r
 #define Py_PYCONFIG_H\r
 \r
-#define PLATFORM    "UEFI 2.3 X64"\r
+#include  <Uefi.h>\r
+\r
+/* Define to indicate that code is being built to run in the UEFI Environment. */\r
+#define UEFI_ENV    EFI_SYSTEM_TABLE_REVISION\r
 \r
-//#ifndef PYTHONPATH\r
-//# define PYTHONPATH "/Efi/StdLib/lib/python.27;/Efi/StdLib/lib/python.27/lib-dynload"\r
-//#endif\r
+#define PLATFORM    "UEFI"\r
 \r
 /* Define if building universal (internal helper macro) */\r
 #undef AC_APPLE_UNIVERSAL_BUILD\r
 \r
 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.\r
    */\r
-#undef HAVE_DIRENT_H\r
+#define HAVE_DIRENT_H   1\r
 \r
 /* Define to 1 if you have the <dlfcn.h> header file. */\r
 #undef HAVE_DLFCN_H\r
 #undef HAVE_GETPAGESIZE\r
 \r
 /* Define to 1 if you have the `getpeername' function. */\r
-#undef HAVE_GETPEERNAME\r
+#define HAVE_GETPEERNAME  1\r
 \r
 /* Define to 1 if you have the `getpgid' function. */\r
 #undef HAVE_GETPGID\r
 #undef HAVE_PLOCK\r
 \r
 /* Define to 1 if you have the `poll' function. */\r
-#undef HAVE_POLL\r
+#define HAVE_POLL         1\r
 \r
 /* Define to 1 if you have the <poll.h> header file. */\r
-#define HAVE_POLL_H     1\r
+#undef HAVE_POLL_H\r
 \r
 /* Define to 1 if you have the <process.h> header file. */\r
 #undef HAVE_PROCESS_H\r
 #undef HAVE_READLINK\r
 \r
 /* Define to 1 if you have the `realpath' function. */\r
-#undef HAVE_REALPATH\r
+#define HAVE_REALPATH   1\r
 \r
 /* Define if you have readline 2.1 */\r
 #undef HAVE_RL_CALLBACK\r
 #undef HAVE_ROUND\r
 \r
 /* Define to 1 if you have the `select' function. */\r
-#undef HAVE_SELECT\r
+#define HAVE_SELECT       1\r
 \r
 /* Define to 1 if you have the `sem_getvalue' function. */\r
 #undef HAVE_SEM_GETVALUE\r
 #define HAVE_TEMPNAM      1\r
 \r
 /* Define to 1 if you have the <termios.h> header file. */\r
-#define HAVE_TERMIOS_H    1\r
+#undef HAVE_TERMIOS_H\r
 \r
 /* Define to 1 if you have the <term.h> header file. */\r
 #undef HAVE_TERM_H\r
 #undef HAVE_UTIMES\r
 \r
 /* Define to 1 if you have the <utime.h> header file. */\r
-#undef HAVE_UTIME_H\r
+#define HAVE_UTIME_H    1\r
 \r
 /* Define to 1 if you have the `wait3' function. */\r
 #undef HAVE_WAIT3\r