aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/OpenglSystemCommon/ProcessPipe.cpp4
-rw-r--r--system/OpenglSystemCommon/QemuPipeStream.cpp8
2 files changed, 0 insertions, 12 deletions
diff --git a/system/OpenglSystemCommon/ProcessPipe.cpp b/system/OpenglSystemCommon/ProcessPipe.cpp
index e6382362..b13487b9 100644
--- a/system/OpenglSystemCommon/ProcessPipe.cpp
+++ b/system/OpenglSystemCommon/ProcessPipe.cpp
@@ -18,11 +18,7 @@
#include <cutils/log.h>
#include <pthread.h>
-#if PLATFORM_SDK_VERSION > 24
-#include <system/qemu_pipe.h>
-#else // PLATFORM_SDK_VERSION
#include <hardware/qemu_pipe.h>
-#endif //PLATFORM_SDK_VERSION
static int sProcPipe = 0;
static pthread_once_t sProcPipeOnce = PTHREAD_ONCE_INIT;
diff --git a/system/OpenglSystemCommon/QemuPipeStream.cpp b/system/OpenglSystemCommon/QemuPipeStream.cpp
index de9f3afb..3804097a 100644
--- a/system/OpenglSystemCommon/QemuPipeStream.cpp
+++ b/system/OpenglSystemCommon/QemuPipeStream.cpp
@@ -14,11 +14,7 @@
* limitations under the License.
*/
#include "QemuPipeStream.h"
-#if PLATFORM_SDK_VERSION > 24
-#include <system/qemu_pipe.h>
-#else // PLATFORM_SDK_VERSION
#include <hardware/qemu_pipe.h>
-#endif //PLATFORM_SDK_VERSION
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
@@ -55,11 +51,7 @@ QemuPipeStream::~QemuPipeStream()
int QemuPipeStream::connect(void)
{
-#if PLATFORM_SDK_VERSION > 24
- m_sock = qemu_pipe_open("pipe:opengles");
-#else // PLATFORM_SDK_VERSION
m_sock = qemu_pipe_open("opengles");
-#endif // PLATFORM_SDK_VERSION
if (!valid()) return -1;
return 0;
}