| Index: src/ports/SkOSLibrary_win.cpp
|
| diff --git a/src/ports/SkOSLibrary_win.cpp b/src/ports/SkOSLibrary_win.cpp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ca80415391b8eacd111bc5f221784cd1bb80725d
|
| --- /dev/null
|
| +++ b/src/ports/SkOSLibrary_win.cpp
|
| @@ -0,0 +1,17 @@
|
| +
|
| +/*
|
| + * Copyright 2015 Google Inc.
|
| + *
|
| + * Use of this source code is governed by a BSD-style license that can be
|
| + * found in the LICENSE file.
|
| + */
|
| +#include "SkOSLibrary.h"
|
| +#include <windows.h>
|
| +
|
| +void* DynamicLoadLibrary(const char* libraryName) {
|
| + return LoadLibrary(libraryName);
|
| +}
|
| +
|
| +void* GetProcedureAddress(void* library, const char* functionName) {
|
| + return ::GetProcAddress((HMODULE)library, functionName);
|
| +}
|
|
|